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.

Loading and Crashing issues with Cypress v3.0.1

See original GitHub issue

Current behavior:

When I try to run Cypress via npm I get the following:

C:\Users\aallford\Documents\elprd-risk-assessment-app>C:\Users\aallford\Documents\elprd-risk-assessment-app\node_modules\.bin\cypress run

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

 ×  Verifying Cypress can run C:\Users\aallford\AppData\Local\Cypress\Cache\3.0.1\Cypress
   → Cypress Version: 3.0.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

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

Platform: win32 (6.3.9600)
Cypress Version: 3.0.1

ALSO If I try to run Cypress from the local install of 3.0.1, it crashes when I try to run an integration test.

Desired behavior:

Cypress will open from npm, and not crash and close if run from local install

Steps to reproduce:

As Current behaviour

Versions

Cypress = v3.0.1 OS = Win 8 Browser = Chrome

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:7
  • Comments:64 (25 by maintainers)

github_iconTop GitHub Comments

8reactions
lazytestingcommented, Jun 20, 2018

Same issue here after I installed Cypress as a dependency of my nodejs project. Finally found a workaround.

  1. clear C:\Users[username]\AppData\Local\Cypress\Cache
  2. start a command prompt as administrator
  3. run npm i cypress -g
  4. run cypress open (not sure if this is needed)
  5. close command prompt
  6. return back to your node.js project and run the tests
6reactions
vladzhigulskycommented, Aug 10, 2018

I’m having the same issue (Smoke test failed/Cypress failed to start) on macOS after running initial cypress open.

cypress 3.0.3 macOS High Sierra iTerm

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix Cypress Crashing Issue In Windows - YouTube
In this video, we will discuss how to fix the cypress crashing issue.New Selenium Batch Starting ...
Read more >
Changelog - Cypress Documentation
When a chromium based browser tab or process crashes, Cypress will no longer hang indefinitely but will fail the current test and move...
Read more >
Continuous Integration - cypress - w3resource
This will bypass more intelligent caching packaged with npm or yarn, and can cause issues with Cypress not downloading the Cypress binary when ......
Read more >
cypress-io/cypress - Gitter
So all that needs done on that page is to select a role in the dropdown and click login. The issue is that...
Read more >
How Cypress Freezes CSS Animations And You Can Too
Thus a typical test will show a weird start of the transition before abruptly starting a new one. cypress/integration/spec.js. 1 2 3
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