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

Need Help, Error when run test #39

Closed
heyharii opened this issue Nov 22, 2019 · 2 comments
Closed

Need Help, Error when run test #39

heyharii opened this issue Nov 22, 2019 · 2 comments

Comments

@heyharii
Copy link

/usr/local/bin/npx cypress run --config-file cypress.json --env false

Error: There was an error when attempting to execute the process '/usr/local/bin/npx'. This may indicate the process failed to start. Error: spawn /usr/local/bin/npx ENOENT
    at ExecState._setResult (/home/runner/work/_actions/cypress-io/github-action/v1/dist/index.js:891:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/cypress-io/github-action/v1/dist/index.js:877:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/cypress-io/github-action/v1/dist/index.js:764:27)
    at ChildProcess.emit (events.js:200:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:9)
##[error]There was an error when attempting to execute the process '/usr/local/bin/npx'. This may indicate the process failed to start. Error: spawn /usr/local/bin/npx ENOENT
##[error]Node run failed with exit code 1```
@heyharii heyharii changed the title Error when run test Need Help, Error when run test Nov 22, 2019
@bahmutov
Copy link
Contributor

hmm, do you use custom environment or runner without Node? What version of node are you running there?

@bahmutov
Copy link
Contributor

Closing because of no details provided

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