npm Community Forum (Archive)

The npm community forum has been discontinued.

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

error cb() never called! while update

What I Wanted to Do

i installed npm packages and finally i gave command :npm update"
it ran for sometime and failed in between.

What Happened Instead

npm update command i issued from CMD as a administrator and it thrown error as shown in below.

193 timing npm Completed in 425955ms
194 error cb() never called!
195 error This is an error with npm itself. Please report this error at:
196 error

starting LOG snippet :

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 ‘update’ ]
2 info using npm@6.5.0
3 info using node@v11.9.0

Reproduction Steps


Attached a log file

Platform Info

$ npm --versions

$ node -p process.platform


Hi @Harikumar! The cb() never called! is not the underlying error and does not help solve your problem. The error reporting got better from npm v6.6.0, so if there is not another error in your log file then I suggest you update to a newer version of npm and try the command again.