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

New error: It looks like this is your first time using Cypress: 3.1.4 #3176

Closed
hellfireSteve opened this issue Jan 21, 2019 · 3 comments
Closed

Comments

@hellfireSteve
Copy link

hellfireSteve commented Jan 21, 2019

A new error appeared today, when running npm run test:e2e

The error says:

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

 ×  Verifying Cypress can run C:\Users\SStaple\AppData\Local\Cypress\Cache\3.1.4\Cypress
   → Cypress Version: 3.1.4
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: C:\Users\SStaple\AppData\Local\Cypress\Cache\3.1.4\Cypress\Cypress.exe --smoke-test --ping=159
----------

Platform: win32 (10.0.17134)
Cypress Version: 3.1.4
 ERROR  Error: Command failed: C:\Development\alloy-web\node_modules\@vue\cli-plugin-e2e-cypress\node_modules\cypress\bin\cypress open --config baseUrl=http://localhost:8082/
Error: Command failed: C:\Development\alloy-web\node_modules\@vue\cli-plugin-e2e-cypress\node_modules\cypress\bin\cypress open --config baseUrl=http://localhost:8082/
    at makeError (C:\Development\alloy-web\node_modules\execa\index.js:174:9)
    at Promise.all.then.arr (C:\Development\alloy-web\node_modules\execa\index.js:278:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! alloy-web@0.1.0 test:e2e: `vue-cli-service test:e2e --mode development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the alloy-web@0.1.0 test:e2e script.

This is entirely erroneous.
I have been using Cypress without a problem up until today.
There is a line which says 'The error below should indicate which dependency is missing.' - it doesn't.
I followed the link, & it is unconnected.

How do I restore this to working order?

@jennifer-shehane
Copy link
Member

Hey @hellfireSteve, could you provide any more information on how you are running the cypress command? Also, what may have changed in the last week regarding your build process, CI, os settings, cypress settings, anything?

This should not fail all of a sudden one day with no changes. Do you have loose version matching Cypress (like ^3.1.0), did it update to 3.1.4 from a previous version?

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label Jan 23, 2019
@hellfireSteve
Copy link
Author

Thanks @jennifer-shehane - the issue has now been solved. It had been updated from a previous version, 3.1.3. Ended up having to delete all versions of cypress in the cache & then re-installing Cypress 3.1.3

@jennifer-shehane
Copy link
Member

In order to direct better focus on the overall problem that is being described in several issues - we opened one issue to track this behavior #4624 Please add any information about how we can reproduce this bug there. 🙏

@cypress-io cypress-io locked and limited conversation to collaborators Jul 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants