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
; "user" config from /home/melroy/.npmrcprefix = "/home/melroy/.npm-global"; node bin location = /usr/bin/node; node version = v20.12.1; npm local prefix = /media/melroy/Data/Projects/erp-frontend; npm version = 10.5.1; cwd = /media/melroy/Data/Projects/erp-frontend; HOME = /home/melroy; Run `npm config ls -l` to show all defaults.
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I'm working on an Angular v17 frontend project with npm (
package.json
andpackage-lock.json
).When I run
npm update
using version 10.5.1 ofnpm
it's busy updating and then it crashes with:Expected Behavior
No heap limit or crash when using npm on the command line. I still have plenty of ram left.
Steps To Reproduce
See attachment for my package-lock.json & package.json file:
package-lock.json
package.json
Run:
npm update
Crash (heap limit)
For info,
npm outdated
shows:Environment
Workaround
Not nice.. but the workaround for now is:
node --max-old-space-size=8000 $(which npm) update
The text was updated successfully, but these errors were encountered: