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

I hope the author can solve a problem #106

Open
FXDYJ opened this issue Mar 1, 2022 · 1 comment
Open

I hope the author can solve a problem #106

FXDYJ opened this issue Mar 1, 2022 · 1 comment

Comments

@FXDYJ
Copy link

FXDYJ commented Mar 1, 2022

Error content:It looks like this is your first time using Cypress: 6.0.1

✖ Verifying Cypress can run /root/.cache/Cypress/6.0.1/Cypress
→ Cypress Version: 6.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.


/root/.cache/Cypress/6.0.1/Cypress/Cypress: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory


Platform: linux (Ubuntu - 20.04)
Cypress Version: 6.0.1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! genshin-impact-wish-simulator@2.1.1 cypress: cypress run --headed
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the genshin-impact-wish-simulator@2.1.1 cypress script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-03-01T12_55_36_469Z-debug.log
{ Error: Command failed with exit code 1: npm run cypress
at makeError (/www/wwwroot/genshin-impact-wish-simulator/node_modules/start-server-and-test/node_modules/execa/lib/error.js:56:11)
at handlePromise (/www/wwwroot/genshin-impact-wish-simulator/node_modules/start-server-and-test/node_modules/execa/index.js:114:26)
at process._tickCallback (internal/process/next_tick.js:68:7)
command: 'npm run cypress',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! genshin-impact-wish-simulator@2.1.1 test:cypress: start-server-and-test start http://localhost:3000 cypress
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the genshin-impact-wish-simulator@2.1.1 test:cypress script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-03-01T12_55_36_498Z-debug.log
ERROR: "test:cypress" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! genshin-impact-wish-simulator@2.1.1 test: run-s test:*
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the genshin-impact-wish-simulator@2.1.1 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-03-01T12_55_36_519Z-debug.log

@shadorki
Copy link
Owner

shadorki commented Mar 1, 2022

What operating system? and do you have chrome installed?

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

No branches or pull requests

2 participants