-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[BUG] on version 12.14, npm prune fails in Jenkins jobs #620
Comments
The last time one of my builds succeeded it was using Tried running with
|
For now, if anyone is interested, I've fixed by pinning my node versions using a
|
npm If your bug is preproducible on If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo Closing: This is an automated message. |
What
Since updating to 12.14.0 (from 12.13.1) in Jenkins, npm prune commands fail with
When
Since upgrading node version, whenever a build in Jeknins reaches the
npm prune
command I get this error.If I skip
prune
,npm install
works fine.If I delete my
package-lock.json
file,npm prune
works fine as wellI tried recreating
package-lock
so that all the versions were created by npm 12.14, it didn't work.How
Current Behavior
Complete log from Jenkins:
Steps to Reproduce
Set Jenkins node version to 12.14, run a build on a nodejs project that does
npm prune
.Expected Behavior
Prune should do prune and succeed
Who
The text was updated successfully, but these errors were encountered: