npm-check icon indicating copy to clipboard operation
npm-check copied to clipboard

infinity loop on checking packages

Open WuglyakBolgoink opened this issue 4 years ago • 4 comments

since last week I can't upgrade packages. It stucks on this step:

⠧ Checking npm registries for updated packages.

  • npm -v
    • 6.14.7
  • node -v
    • v14.8.0
  • npm-check
    • v5.9.2

WuglyakBolgoink avatar Aug 21 '20 09:08 WuglyakBolgoink

same problem when i use with RPI4 (2GB)

const npmCheck = require('npm-check');

npmCheck(options)
  .then(currentState => console.log(currentState.get('packages')));

CPU : ~100 % Memory : ~100%

I wait 10 min and stop the process

Note: works fine in Linux debian

bugsounet avatar Aug 25 '20 21:08 bugsounet

Same problem, running on npm 6.14.8 node(snap) v14.9.0

daniel100097 avatar Sep 02 '20 17:09 daniel100097

Same npm 6.14.8 node v12.18.3

Found no reason or workaround so far.

johannespfeiffer avatar Sep 03 '20 11:09 johannespfeiffer

I'm experiencing this too. What's also interesting is that npm-check -ug will work and let me update my global packages, but it just get stuck checking NPM when running within a project using npm-check -u. Maybe this is because I have very few globally installed dependencies?

I've been trying to go to older versions of npm-check to see where the bug go introduced but haven't had any luck yet.

fgs-dbudwin avatar Dec 08 '20 13:12 fgs-dbudwin