question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cypress 4.7.0 | Cypress failed to start

See original GitHub issue

I have installed cypress 4.7.0 . and ran ./node_modules\.bin\cypress open. I get the below error

It looks like this is your first time using Cypress: 4.7.0

  ×  Verifying Cypress can run C:\Users\Username\AppData\Local\Cypress\Cache\4.7.0\Cypress
    → Cypress Version: 4.7.0
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

If you are using Docker, we provide containers with all required dependencies installed.

----------

spawn EPERM

----------

Platform: win32 (10.0.18362)
Cypress Version: 4.7.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
dinaRodenycommented, Nov 11, 2020

try npx cypress install --force

1reaction
sivakrishna-wqcommented, Jun 9, 2020

I did not have write access to C:\Users\Username\AppData\Local\Cypress\Cache\4.7.0\Cypress 1 Create a folder ex – C:\Cypress 2. Create system environment variable – CYPRESS_CACHE_FOLDER – C:\Cypress 3. Run the command Set CYPRESS_CACHE_FOLDER= C:\Cypress 4. Run npm install cypress --save-dev 5. Run npx cypress open or ./node_modules/.bin/cypress open

Issue is resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cypress failed to start on Windows - Stack Overflow
→ Cypress Version: 1.4. 1 Cypress failed to start. This is usually caused by a missing library or dependency. The error below should...
Read more >
Changelog - Cypress Documentation
Fixed an issue where the Cypress migration wizard would fail to run in global mode on newer versions of Cypress. Addressed in #25138....
Read more >
cypress-io/cypress - Gitter
Cypress failed to start. This is usually caused by a missing library or dependency. The error below should indicate which dependency is missing....
Read more >
How to use cypress orb with node version >= 14.15.0?
In Circle ci logs i get the following error … error gatsby@4.7.1: The engine “node” is incompatible with this module. Expected version “>=14.15....
Read more >
cypress: Versions - Openbase
Fixed an issue with cy.session() such that re-running tests in open mode will now correctly recreate a session. Before this change, an error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found