github-action: Error: The process '/usr/local/bin/npx' failed with exit code 1
Using version 5.4.0 Cypress
Getting a …
Error: The process '/usr/local/bin/npx' failed with exit code 1
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (7 by maintainers)
It is a regression in Cypress action. I do not know what or where.
I fixed by pinning down Cypress action to an earlier version:
I am not sure if related but starting to see “cannot run binary errors” as well very recently.
(node:28066) UnhandledPromiseRejectionWarning: Error: There was an error when attempting to execute the process '/usr/local/bin/npm'. This may indicate the process failed to start. Error: spawn /usr/local/bin/npm ENOENTWith the following receipt
Almost looks like
PATHor/usr/binis destroyed betweenbuildandstartsteps.npmworks inbuild, but no longer instart.Still diagnosing the issue.
hello a solved the problem when i remove from gitIgnore the folder dist/ i am using Angular with firebase hosting