Forums

npm freezes

Hey

Was there any change in npm/nvm recently? I am trying to install a new lib with

npm install ...

npm install ... --save-dev

It calculates the tree fine, but then nothing happens - it just freezes without any print for quite a while. I have some code that is easier to write in js, than in python, and python triggers that js script.

nwm

it got fixed

I guess it's related to the previous question of request freeze...

Glad you got it working!

hmmm it is not fixed =(

I am quite out of ideas why tbh

can you give me a suggestion? it stuck there where I call npm install with --verbose

npm verb addNameTag registry:https://registry.npmjs.org/buffer-reverse already in flight; waiting
npm verb addNamed "1.0.1" is a plain semver version for buffer-reverse
npm verb afterAdd /home/alkon/.npm/buffer-reverse/1.0.1/package/package.json not in flight; writing
npm verb correctMkdir /home/alkon/.npm correctMkdir not in flight; initializing
npm verb afterAdd /home/alkon/.npm/buffer-reverse/1.0.1/package/package.json written
npm verb cache add spec websocket@github:web3-js/WebSocket-Node#polyfill/globalThis
npm verb addRemoteGit caching github:web3-js/WebSocket-Node#polyfill/globalThis
npm verb addRemoteGit web3-js/WebSocket-Node#polyfill/globalThis is a repository hosted by github
npm verb tryClone git-github-com-web3-js-WebSocket-Node-git-polyfill-globalThis-849052d1 not in flight; caching
npm verb correctMkdir /home/alkon/.npm/_git-remotes correctMkdir not in flight; initializing
npm info git [ 'clone',
npm info git   '--template=/home/alkon/.npm/_git-remotes/_templates',
npm info git   '--mirror',
npm info git   'git://github.com/web3-js/WebSocket-Node.git',
npm info git   '/home/alkon/.npm/_git-remotes/git-github-com-web3-js-WebSocket-Node-git-polyfill-globalThis-849052d1' ]

well if I allow it to stay in console - it is done after some long time (well I looked in console after 1 or 2 hours and it was done)

Maybe it's just installing a very large number of files for this package, and taking a long time to complete as a result?