cb() never called! - Getting this with any npm install command

I keep getting this error with any npm install and because of this I am unable to downgrade or upgrade my npm. I am stuck and I need some help as soon as possible.

ERROR Details:

cb() never called!
npm ERR! This is an error with npm itself. Please report this error at: (https://npm.community/)

LOG FILE:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli ‘/usr/local/Cellar/node/12.6.0/bin/node’,
1 verbose cli ‘/usr/local/bin/npm’,
1 verbose cli ‘install’,
1 verbose cli ‘npm@latest’,
1 verbose cli ‘-g’
1 verbose cli ]
2 info using npm@6.9.0
3 info using node@v12.6.0
4 verbose npm-session ae05d2ef5606e013
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 timing npm Completed in 256ms
8 error cb() never called!
9 error This is an error with npm itself. Please report this error at:
10 error [https://npm.community ]

I suggest you try reinstalling npm as a first try.

(It looks like you used Homebrew to install node. Did you use it to install npm too?)

Yes. I did use homebrew for npm as well.

Do you have git installed?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.