npm Community Forum (Archive)

The npm community forum has been discontinued.

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

NPM ERR! error cb() never called!

During NPM install in a Jenkins stage it fails with the below error.
NPM ERR! error cb() never called!
I’m using updated node & npm versions.
npm 6.9.0
node 10.16.3

The issue appears intermittent. However, once it occurs in a day it fails the next 4 to 5 or max builds in the sequence. It fails in both cases, even when a proxy is set in npmrc or when the same is removed.

We tried the below possible suggestions to get rid of the error but no luck.

Have attached the log file for reference.

npm-debug.log (410.8 KB)