Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when opening Cypress #15304

Closed
dackjaniels2001 opened this issue Mar 3, 2021 · 3 comments
Closed

Error when opening Cypress #15304

dackjaniels2001 opened this issue Mar 3, 2021 · 3 comments
Labels
type: duplicate This issue or pull request already exists

Comments

@dackjaniels2001
Copy link

Hi,

I have installed cypress on my Win 10 PC by using npm install inside a project directory.
If I run the command npx cypress open I get the following error:

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

  ×  Verifying Cypress can run C:\Users\Stephen.Edwards\AppData\Local\Cypress\Cache\6.6.0\Cypress
    → Cypress Version: 6.6.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.

----------

Command failed with UNKNOWN: C:\Users\Stephen.Edwards\AppData\Local\Cypress\Cache\6.6.0\Cypress\Cypress.exe --smoke-test --ping=392     
spawn UNKNOWN

----------

Platform: win32 (10.0.19042)
Cypress Version: 6.6.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hermes@0.0.0 cypress:open: `npx cypress open`
npm ERR! Exit status 1

I get the same error if I run the cypress executable in AppData\Local\Cypress (run as admin).

Any idea what is going wrong here?
I am running 64bit Win 10, I wondered if the reference to Win32 in the error above might mean something?

Thanks

@jennifer-shehane
Copy link
Member

Can you follow this suggestion and let us know if it's resolved afterward? #5457 (comment)

@jennifer-shehane jennifer-shehane added the stage: awaiting response Potential fix was proposed; awaiting response label Mar 4, 2021
@dackjaniels2001
Copy link
Author

Hi,

Thanks for the suggestion but I already tried that and it made no difference.
I get the error if I execute the cypress .exe directly in windows too

@jennifer-shehane
Copy link
Member

Duplicate of #16647

@jennifer-shehane jennifer-shehane marked this as a duplicate of #16647 May 27, 2021
@jennifer-shehane jennifer-shehane added type: duplicate This issue or pull request already exists and removed stage: awaiting response Potential fix was proposed; awaiting response labels May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants