cb()never called during installation cb

What I Wanted to Do

installing angular cli–>

What Happened Instead

<cb() never called!

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

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/angel/.npm/_logs/2019-07-04T23_16_01_307Z-debug.log–>

Reproduction Steps

ng new my-app

Details

Platform Info

$ npm --versions
<!-- paste output here -->
$ node -p process.platform
<!-- paste output here -->

Can you attach the log please?

I am also having the same error while insntalling gulp

Here is my log

1 verbose cli [ '/Users/bhargav/.nvm/versions/node/v8.11.3/bin/node',
1 verbose cli   '/Users/bhargav/.nvm/versions/node/v8.11.3/bin/npm',
1 verbose cli   'install',
1 verbose cli   'gulp',
1 verbose cli   '-g' ]
2 info using npm@6.10.0
3 info using node@v8.11.3
4 verbose npm-session 7499e5b9d7171e8a
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 200 https://registry.npmjs.org/gulp 228ms
8 silly pacote tag manifest for gulp@latest fetched in 263ms
9 timing stage:loadCurrentTree Completed in 297ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 2ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule gulp@4.0.2 checking installable status
17 timing npm Completed in 2247ms
18 error cb() never called!
19 error This is an error with npm itself. Please report this error at:
20 error <https://npm.community>```

Same for me as well.

cb error.log (186,7 KB)
same for me while following along the vue-school mastercourse

This solved it for me: https://www.alex-arriaga.com/issue-when-running-npm-install-npm-err-cb-never-called-solved/

Hi. Something similar with typescript. Any idea?


Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/norikon/.npm/_cacache/content-v2/sha512/0b/ac'ts/github/leviossa_front/node_modules/.sta

npm WARN tarball tarball data for react-spinners@0.5.8 (sha512-A5YHY1rcs3NI2wEaESaqrnUOwdgPNHlWLRkZZEJny3/OdKMaxGuP6rrnNAvjJHsO5aReq7xtEsosYHVsVSI6Ng==) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for typescript@3.5.3 (sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==) seems to be corrupted. Trying one more time.
Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/norikon/.npm/_cacache/index-v5/86/58' /Users/norikon/Documents/github/leviossa_front/nod

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/norikon/.npm/_cacache/index-v5/86/d1'8IkR0=

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/norikon/.npm/_cacache/index-v5/86/df'github/leviossa_front/node_modules/.staging/is-glob

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/norikon/.npm/_cacache/index-v5/86/d4'nts/github/leviossa_front/node_modules/.staging/is-

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/norikon/.npm/_cacache/content-v2/sha512/0b/00'ializer-0.1.1.tgz 764ms

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/norikon/.npm/_cacache/content-v2/sha512/0b/6e'ents/github/leviossa_front/node_modules/.s

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/norikon/.npm/_cacache/content-v2/sha512/0b/1c'tract-comments@1.0.0. Extracting by manife

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/norikon/.npm/_cacache/index-v5/86/bb'manifest.

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/norikon/.npm/_cacache/content-v2/sha512/0b/a1'/github/leviossa_front/node_modules/.stagi

Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/norikon/.npm/_cacache/content-v2/sha512/0b/45'sa_front/node_modules/.staging/debug-9b20b

npm ERR! cb() never called!

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

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/norikon/.npm/_logs/2019-07-24T13_42_54_937Z-debug.log```
sudo npm i -g npm@latest
sudo chown $USER ~/.npm

If that doesn’t fix it, please create a new issue.

2 Likes