npm Community Forum (Archive)

The npm community forum has been discontinued.

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

cb() never called! -- This is an error with npm itself.

I have been getting a unique error message when attempting to run the “npm install” command from a copy of this git:

Please see the error log attached for the most details.2019-03-14T01_25_11_559Z-debug.log (66.4 KB)

When running $ npm install -g composer-rest-server@0.20
I received the following message

Unhandled rejection Error: EACCES: permission denied, mkdir ‘/home/jim/.npm/_cacache/index-v5/b8/85’

npm ERR! cb() never called!

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

npm ERR! A complete log of this run can be found in:
npm ERR! /home/jim/.npm/_logs/2019-03-14T04_20_17_735Z-debug.log

How should I proceed?


Hi Jim. The “cb() never called” is a symptom and not the underlying problem. I think you have a different issue than Jebald reported. See this comment for work-around and link to more info: npm ERR! cb() never called! macOS