error cb() never called!


(Mitchell Maloun) #1

Sorry I’m a noob please let me know if I didn’t handle this correctly!

root@lcsllc2:~/gekko/exchange# npm install --only=production
Unhandled rejection Error: Command failed: /usr/bin/git clone --depth=1 -q -b master git://github.com/askmike/npm-kraken-api.git /root/.npm/_cacache/tmp/git-clone-f769f69fa3b03
/root/.npm/_cacache/tmp/git-clone-f769f69f/.git: Permission denied

at ChildProcess.exithandler (child_process.js:297:12)
at ChildProcess.emit (events.js:188:13)
at maybeClose (internal/child_process.js:978:16)
at Socket.stream.socket.on (internal/child_process.js:395:11)
at Socket.emit (events.js:188:13)
at Pipe._handle.close (net.js:609:12)

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! /root/.npm/_logs/2019-01-22T13_47_03_649Z-debug.log

2019-01-22T13_47_03_649Z-debug.log (92.0 KB)


(John Gee) #2

This is probably a known bug. See long thread here:

[crash] npm ERR! cb() never called!

In particular, there is a canary build of npm that you can try using npx to see if it gives a more useful message when the install fails.


(Mitchell Maloun) #3

Thank you very much for the prompt response I will give that a try should I respond with further information on this thread or the one you linked to?


(John Gee) #4

The thread I linked to. Good luck!


(system) closed #5

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