[BUG] <npm ERR! cb() never called!> v6
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
Hello,
I had this error first when I create new React app. I tried every suggested solution for this problem, including upgrading npm but even when I try to update my npm, it gives the same problem again.
NOTE: Please don't redirect me to https://github.com/npm/cli/issues/417, it also didn't work.
Expected Behavior
No response
Steps To Reproduce
- In this environment : VS Code Terminal or node.js command promp
- With this config...
- Run : npm i -g npm@latest, or upgrade commands
- See error...
Environment
- OS:
- Node: 14.17.0
- npm: 6.14.13
I had the same problem, with the same exact version. I just ran npm i again after reinstalling npm and it worked
I had the same problem, with the same exact version. I just ran
npm iagain after reinstalling npm and it worked
Unfortunately, I tried it but got the same problem again.

Weird...
(you forgot to hide your username before npm i btw)
- Uninstall your node.js, & take backup of NPM folder & delete from C:\Users<YOUR_NAME>\AppData\Roaming > NPM
- uninstall windows development kit (IF have) from the control panel
- clean your computer junks USING Cleaner(free version) https://www.ccleaner.com/ccleaner/download
- restart your PC.
- Reinstall Node js & angural CLI
- then create a new App from the command prompt
Then Your Problem should be fixed (:

Mine was a problem with the network connectivity. After I have checked it is now working.
@busrakaraa Is this a problem you're able to consistently reproduce? Are you working with any peers that are running into the same problem for the same project? Are you able to provide your project's package.json &/or package-lock.json & more information about your OS/environment? Unfortunately, we aren't triaging v6 bugs anymore so our current hope is that updating to npm@7 will help resolve many of these types of issues for folks. If not, & you're able to reproduce this problem on v7, we'd ask you to please file a new issue with some more context.
We are aware that this error is thrown for a number of reasons so it can be hard to trace. If you're having problems upgrading to the latest npm (ref. https://github.com/npm/cli#installation), you can also try updating to the latest Node version, v16.x, which ships with npm@7