Error on npm install angular cli - error cb() never called!

(Sandeep Kallat) #1

Hi,

I get an error when installing angular cli using command
npm install -g angular-cli
and unable to proceed. Any suggestions to resolve and proceed??

Logs below…

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 ‘@angular/cli’ ]
2 info using npm@6.4.1
3 info using node@v10.15.3
4 verbose npm-session 4b6521ce65926188
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 timing npm Completed in 1036ms
8 error cb() never called!
9 error This is an error with npm itself. Please report this error at:
10 error https://npm.community

0 Likes

(John Gee) #2

The display of the underlying error for “error cb() never called!” is improved in npm 6.6.0, so upgrading npm might give you a more informative error.

0 Likes

(Sandeep Kallat) #3

The same after upgrade… Now using npm 6.7.0

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 ‘@angular/cli’ ]
2 info using npm@6.7.0
3 info using node@v11.13.0
4 verbose npm-session 5a4e3daea3b242ab
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 timing npm Completed in 720ms
8 error cb() never called!
9 error This is an error with npm itself. Please report this error at:
10 error https://npm.community

npm details

{ npm: ‘6.7.0’,
ares: ‘1.15.0’,
brotli: ‘1.0.7’,
cldr: ‘34.0’,
http_parser: ‘2.8.0’,
icu: ‘63.1’,
llhttp: ‘1.1.1’,
modules: ‘67’,
napi: ‘4’,
nghttp2: ‘1.34.0’,
node: ‘11.13.0’,
openssl: ‘1.1.1b’,
tz: ‘2018e’,
unicode: ‘11.0’,
uv: ‘1.27.0’,
v8: ‘7.0.276.38-node.18’,
zlib: ‘1.2.11’ }

0 Likes

(John Gee) #4

Drat! Thanks for update.

0 Likes

(system) closed #5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

0 Likes