[BUG] npm freezes during update #6843
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 9.x
work is associated with a specific npm 9 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
(Note that I don't have the latest version of npm installed, because the update command is freezing)
When trying to update npm, the command freezes. The console just seems to sit at this stage indefinitely after idealTree: timing idealTree Completed in 42ms.
Here is the logfile:
I also tried uninstalling npm, which also freezes.
I tried using npm to install rollup:
It seems to freeze here. Corresponding log file:
Running htop, I see that two processes
npm install rollup
are running, each with 100% cpu.Expected Behavior
npm updates, or at least generates an error message to tell me why it isn't working.
Steps To Reproduce
https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh
npm install -g npm@latest --verbose
Environment
npm -v
: npm: 9.8.1node -v
: Node.js: v18.18.0npm config ls
:The text was updated successfully, but these errors were encountered: