error cb() never called error!


(ismail hgar) #1

What I Wanted to Do

Hi i wanted to use npm install command but always taking this ‘error cb() never called!’ error!

I tried;
remove and install again node.js many many times,
Using npm cache clear --force and npm install --no-package-lock
check environments and control C:\Program Files\nodejs and C:\Users\METASİS\AppData\Roaming\npm

What Happened Instead

Always taking 3032 error cb() never called!
3033 error This is an error with npm itself. Please report this error at:
3034 error https://npm.community

npm version 6.4.1
node version 10.5.1

and end of error detail is

‘C:\Users\METSİS\AppData\Roaming\npm\node_modules.staging\npm-1880f145\bin\npx.cmd’
3030 warn tar ENOENT: no such file or directory, open ‘C:\Users\METSİS\AppData\Roaming\npm\node_modules.staging\npm-1880f145\changelogs\CHANGELOG-1.md’
3031 timing npm Completed in 5665ms
3032 error cb() never called!
3033 error This is an error with npm itself. Please report this error at:
3034 error https://npm.community

Reproduction Steps

Details

Platform Info

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

(Sanjay) #2

I faced the same issue.

I uninstalled node.
Deleted the nodejs directory.

installed latest nodejs.
after that I did not see the issue.

Now check following –

  1. Always uninstall from Control panel
  2. delete the some left over files from the nodejs directory.
  3. after uninstall, run following two command, just make sure that you do not have multiple copies of nodejs.

node --version.
npm --version

  1. if you are sure that nodejs is not on the system.

I hope this should address your issue.