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
Either rebooting, clearing the cache npm cache clean --force, or removing package-lock.json worked
With other projects I have, it works, maybe one package is broken.
Update: Interesting, after removing the package-lock.json and doing a npm install on one of my projects
it successfully installed the packages but looking at git changes, the new package-lock.json seems to have
removed this lines of every package
❯ npm config ls
; node bin location = /usr/bin/node; node version = v22.5.0; npm local prefix = /home/alexia; npm version = 10.8.2; cwd = /home/alexia; HOME = /home/alexia; Run `npm config ls -l` to show all defaults.
The text was updated successfully, but these errors were encountered:
I get the same issue if building w/ Docker image node:22.5.0, and can't reproduce it in node:22.4.
Could you try downgrading Node and seeing if you can reproduce it?
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Npm hangs indefinitely when installing
Either rebooting, clearing the cache
npm cache clean --force
, or removing package-lock.json workedWith other projects I have, it works, maybe one package is broken.
Update: Interesting, after removing the package-lock.json and doing a npm install on one of my projects
it successfully installed the packages but looking at git changes, the new package-lock.json seems to have
removed this lines of every package
Expected Behavior
succesfully install the packages
Steps To Reproduce
mkdir testdir
cd testdir
npm init (defaults)
edit the package.json and add this lines
Environment
The text was updated successfully, but these errors were encountered: