I have just installed Cypress using "npm install cypress --save-dev" and got confirmation that the install was successful as detailed below
Tried opening Cypress using the prompt: node_modules.bin\cypress open but got the below message but there was no error listed. Has anyone come across this?
"It looks like this is your first time using Cypress: 1.4.1
→ Cypress Version: 1.4.1 Cypress failed to start.
This is usually caused by a missing library or dependency.
The error below should indicate which dependency is missing.
https://on.cypress.io/required-dependencies
Platform: win32 (10.0.14393) Cypress Version: 1.4.1"
If you're having an issue during installation of Cypress, try removing the contents of the Cypress cache. This will clear out all installed versions of Cypress that may be cached on your machine. After running this command, you will need to run cypress install before running Cypress again.
Use Git-Bash/Cmd, type "npx cypress --version". It will give Cypress package version, Cypress binary version, Electron and Bundled Node version also. Typing "./node_modules/. bin/cypress version" in cmd prompt will also give the same details.
Try this npx cypress install --force
then use npx cypress open
I've had the same issue. After running
npm install --save-dev cypress
you need to run
.\node_modules\.bin\cypress.cmd install
That's a bit confusing in most install guides that I read. After doing this, it worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With