npm Community Forum (Archive)

The npm community forum has been discontinued.

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

npm ERR! cb() never called! error in ionic project when npm install

I’m trying to do npm install in my ionic project. But I’m getting error when I do npm install.

OS - ubuntu 16.04
Npm version - 6.9.0
Nodejs version - 10.16.3
Ionic CLI : 5.4.4

What I Wanted to Do

I wanted to run npm install in my ionic project.

What Happened Instead

I’m getting error as npm ERR! cb() never called!

Reproduction Steps

Details

Platform Info

$ npm --versions
<!-- paste output here -->
{ Ionic3Project: '0.0.1',
  npm: '6.9.0',
  ares: '1.15.0',
  brotli: '1.0.7',
  cldr: '35.1',
  http_parser: '2.8.0',
  icu: '64.2',
  modules: '64',
  napi: '4',
  nghttp2: '1.39.2',
  node: '10.16.3',
  openssl: '1.1.1c',
  tz: '2019a',
  unicode: '12.1',
  uv: '1.28.0',
  v8: '6.8.275.32-node.54',
  zlib: '1.2.11' }


$ node -p process.platform
<!-- paste output here -->
[2019-10-17T11_18_41_421Z-debug.log|attachment](upload://znYMUWr7Gari9mQCvdjyu2etsps.log) (670.5 KB)


Here is my npm log. 2019-10-17T11_18_41_421Z-debug.log (670.5 KB)