-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Increased number of npm ERR! cb() never called!
failures
#3572
Comments
Looks like this error is also happening in other repos. Just had an instance in WordPress/wordpress-develo: https://github.com/WordPress/wordpress-develop/runs/2824875313?check_suite_focus=true. |
Hello, @desrosj. |
Hello @desrosj. |
Hello @desrosj. I'm going to close this issue. If you have any questions feel free to contact us. |
Thanks @nikita-bykov. I'll follow up with the NPM team. |
Description
On the WordPress/Gutenberg repository, we've been experiencing an increased number of workflows failing due to the following error:
Area for Triage:
JavaScript and Node.js
Question, Bug, or Feature?:
Bug
Virtual environments affected
Image version
20210606.1
Expected behavior
npm install
completes without an error.Actual behavior
Error listed above is displayed and the job fails.
Repro steps
It has happened on almost all of the workflows in the repository running
npm install
ornpm ci
. It is seemingly random, but has only happened on:ubuntu-latest
.We have not encountered the issue on MacOS jobs, or any job that uses NodeJS 12. In most cases, re-running the workflow will succeed, but occasionally a third run is required.
Some examples of this happening:
From what I've been able to find on this error, there are three ways people usually resolve this issue:
npm cache clean --force
.ulimit
for NodeJS.We've ruled out that any cache being restored from https://github.com/actions/cache is causing the problem (unless there is some type of cache at the system level), as the error has happened when there was no cache restored. Some workflows where that is the case:
I don't think we have the ability to try the other two ways to resolve.
At the direction of GitHub support, I've also posted this to actions/setup-node.
The text was updated successfully, but these errors were encountered: