0

I've been using npm for a while to do a project with angular, but 3 days ago my windows so updated and since then the npm it's not working at all. I try to run

npm install

The terminal shows this:

npm ERR cb() never called!

This is an error with npm itself

After this I tried to unistall and reinstall npm, to clean the cache, npm cache clan --force ,but nothing seems to work at all.

Layne
  • 1
  • [related](https://stackoverflow.com/a/15483897/14994086) – a1cd Jul 28 '21 at 17:36
  • always save your source code and files for any project in github so you have ability to retrieve back any version of any file ... I cut a new git branch daily sometime when working on especially challenging problems in addition to several times per day saving files I edit using a simple git commit ... code revision is a critical skill for all developers and its never too early to start – Scott Stensland Jul 28 '21 at 18:03

1 Answers1

0

Try checking the npm version:

node -v
npm -v

and then if it doesn't work try updating npm:

npm install -g npm

and if that doesn't work then finally try downloading it from the website :)

a1cd
  • 17,884
  • 4
  • 8
  • 28