npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

NPM terminal error

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://npm.community

npm ERR! A complete log of this run can be found in:
npm ERR! /home/himanshu/.npm/_logs/2018-11-13T11_39_10_008Z-debug.log
Package install failed, see above.


When I try the command npm install -g ionic I get the same message:

C:\Windows\System32>npm install -g ionic
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://npm.community

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\vinicius.carvalho\AppData\Roaming\npm-cache_logs\2018-11-3T11_33_02_073Z-debug.log

I have already force cleaned the npm cache, reinstalled node, but this didn’t work for me.

Debug log content:

0 info it worked if it ends with ok
1 verbose cli [ ‘C:\Program Files\nodejs\node.exe’,
1 verbose cli ‘C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js’,
1 verbose cli ‘install’,
1 verbose cli ‘-g’,
1 verbose cli ‘ionic’ ]
2 info using npm@6.4.1
3 info using node@v11.1.0
4 verbose npm-session 58bfc108ba244416
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 timing npm Completed in 522ms
8 error cb() never called!
9 error This is an error with npm itself. Please report this error at:
10 error https://npm.community


duplicate of [crash] npm ERR! cb() never called!