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

Cypress fails on Alpine Linux #1439

Closed
jhartma opened this issue Mar 10, 2018 · 1 comment
Closed

Cypress fails on Alpine Linux #1439

jhartma opened this issue Mar 10, 2018 · 1 comment

Comments

@jhartma
Copy link

jhartma commented Mar 10, 2018

  • Operating System: Alpine Linux
  • Cypress Version: 2.1.0
  • Browser Version: None

Console Output

[12:37:34]  Verifying Cypress can run /builds/jhart/draaft/node_modules/cypress/dist/Cypress [started]
2018-03-10T12:37:34.502Z cypress:cli writing verified version string "null"
2018-03-10T12:37:34.502Z cypress:cli path to info.json file /builds/jhart/draaft/node_modules/cypress/dist/info.json
2018-03-10T12:37:34.505Z cypress:cli path to info.json file /builds/jhart/draaft/node_modules/cypress/dist/info.json
2018-03-10T12:37:34.509Z cypress:cli running smoke test
2018-03-10T12:37:34.510Z cypress:cli using Cypress executable /builds/jhart/draaft/node_modules/cypress/dist/Cypress/Cypress
2018-03-10T12:37:34.510Z cypress:cli needs XVFB? true
2018-03-10T12:37:34.511Z cypress:cli Starting XVFB
2018-03-10T12:37:34.546Z cypress:cli smoke test command: /builds/jhart/draaft/node_modules/cypress/dist/Cypress/Cypress --smoke-test --ping=276
2018-03-10T12:37:34.562Z cypress:cli Stopping XVFB
[12:37:34]  Verifying Cypress can run /builds/jhart/draaft/node_modules/cypress/dist/Cypress [failed]
An unexpected error occurred while verifying the Cypress executable.

Please search Cypress documentation for possible solutions:

https://on.cypress.io

Check if there is a GitHub issue describing this crash:

https://github.com/cypress-io/cypress/issues

Consider opening a new issue.
----------

Error: spawn /builds/jhart/draaft/node_modules/cypress/dist/Cypress/Cypress ENOENT
at _errnoException (util.js:1024:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
----------

Platform: linux (Alpine Linux - 3.7.0)
Cypress Version: 2.1.0

How to reproduce:

docker run -it alpine:latest
apk add --update nodejs nodejs-npm xvfs
npm install cypress
node_modules/.bin/cypress verify

I guess something is missing on Alpine, but it is not clear from the output what exactly that is

@bahmutov
Copy link
Contributor

Duplicate of #419

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants