You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] npm prune --production rebuilds packages installed from github #1422
In my case it fails to build native module and as the result after pruning (which doesn't fails for some reason) I have dependency which is broken completely.
npm v6 is no longer in active development; We will continue to push security releases to v6 at our team's discretion as-per our Support Policy.
If your bug is preproducible on v7, please re-file this issue using our new issue template.
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
@darcyclarke can you just reopen this?
I just checked and it is still an issue with NPM v7 and don't see why people that already subscribed to this issue should lose notifications because there is a new issues for this now, it doesn't make any sense.
Activity
dalyr95 commentedon Jul 29, 2020
Same issue, here's my heroku build log.
tl:dr
npm prune is run
our storybook git module's
postinstallis run and fails becauseCROSS-ENVisn't installed anymorenazar-pc commentedon Jul 29, 2020
In my case it fails to build native module and as the result after pruning (which doesn't fails for some reason) I have dependency which is broken completely.
jordanholt commentedon May 21, 2021
Looking at the output of
npm prune --production --dry-run --json; git dependencies are being flagged as requiring an update:Likely because
versiondoesn't match thepreviousVersionfrompackage.json. Is this or this the place in Arborist that's responsible for that?darcyclarke commentedon Jun 2, 2021
npm
v6is no longer in active development; We will continue to push security releases tov6at our team's discretion as-per our Support Policy.If your bug is preproducible on
v7, please re-file this issue using our new issue template.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.
nazar-pc commentedon Jun 3, 2021
@darcyclarke can you just reopen this?
I just checked and it is still an issue with NPM v7 and don't see why people that already subscribed to this issue should lose notifications because there is a new issues for this now, it doesn't make any sense.
owlstronaut commentedon Apr 2, 2025
I ran this in
11.2.0and validated it wasn't pruned. Closing.