npm Community Forum (Archive)

The npm community forum has been discontinued.

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

I had a npm install error

What I Wanted to Do

Was not sure what to expect

What Happened Instead

the npm install ran for a while and then generated the following error lines:
npm ERR! cb() never called!

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

Reproduction Steps

run these commands in order:

git clone https://github.com/netgen/NetgenDemoSiteApp.git
cd NetgenDemoSiteApp
npm install

Details

Platform Info

$ npm --versions
c:\Users\CP348457\Documents\reactApps>npm --versions
{ npm: '6.4.1',
  ares: '1.15.0',
  cldr: '33.1',
  http_parser: '2.8.0',
  icu: '62.1',
  modules: '64',
  napi: '3',
  nghttp2: '1.34.0',
  node: '10.15.1',
  openssl: '1.1.0j',
  tz: '2018e',
  unicode: '11.0',
  uv: '1.23.2',
  v8: '6.8.275.32-node.12',
  zlib: '1.2.11' }
$ node -p process.platform
<!-- paste output here -->
c:\Users\CP348457\Documents\reactApps>node -p process.platform
win32

<a class="attachment" href="//discourse-cloud-file-uploads.s3.dualstack.us-west-2.amazonaws.com/business6/uploads/npm1/original/2X/8/8f9223aae0ecca82c02bed9180e50ab5f6d490e2.log">2019-04-04T08_16_25_743Z-debug.log</a> (646.8 KB)


I was not able to reproduce this on Mac.

The “cb() never called!” is not the underlying error, were there any other errors displayed on screen or in log?

If not, upgrading to npm v6.6.0 or higher might show you more information. There were some improvements to the error display in that version.