Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
Using v10.9.0
that comes with Node v23.1.0, every npm install
stop responding. Then I cancel the install, run npm install
again and it works. This is on WSL Ubuntu 24 using nvm. Older versions of NPM seem to work fine.
I doubt that I am the only person experiencing this - if so then I can provide more details.
This is the output
(node:3911) ExperimentalWarning: CommonJS module /.../.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /.../.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/supports-color/index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Expected Behavior
npm install
should work.
Steps To Reproduce
Running npm install <package>
or just npm install
triggers this.
Environment
npm -v # 10.9.0
node -v # v23.1.0
OS: Ubuntu 24
System Model name: Dell XPS 9530
npm config ls
gives me:
$ npm config list
; node bin location = /home/me/.nvm/versions/node/v23.1.0/bin/node
; node version = v23.1.0
; npm local prefix = /home/me/path/to/client
; npm version = 10.9.0
; cwd = /home/me/pat/to/client
; HOME = /home/me