Lesson 3: Troubleshooting - Prerequisite installation

Time: 10-15 minutes

Purpose: The purpose of this activity is to get you up and running with Cypress.

Introduction:
In this lesson, you will start to get hands on with Cypress. This is your first step in understanding how the Cypress installation works. By the end of this lesson, youโ€™ll be able to install Cypress and fundamentally learn the folder structure and pre-installed files that come with Cypress.

Activity:

  1. Install the following in your machine:
  • VSCode
  • Node and NPM
  • Cypress
  1. Leave a comment below if you are having any issues installing any of the above pre-requisites.

Hi Maire,
I have installed the cypress successfully but when I run the command npx cypress open, I am landing to this below error

I tried to install the dependency as well but no luck and getting the below error

Would you please help me to resolve this issue, Thank you

@shiwani.sandal Apologies for the delay in response! Looking at Introduction | Cypress Documentation, can you try running this command to see if it will help?

apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb

Hey folks! Just in case anyone else got stuck at the same part: I donโ€™t think it was explicitly stated, but to see the folders run npx cypress open after installing everything and youโ€™ll have everything you need! Otherwise, you just see the node modules :slight_smile:

Great course so far!

3 Likes

Ah yes thank you for spotting that Katie! :blush: