npm-check
npm-check copied to clipboard
infinity loop on checking packages
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
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
Same problem, running on npm 6.14.8 node(snap) v14.9.0
Same npm 6.14.8 node v12.18.3
Found no reason or workaround so far.
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.