The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
error cb() never called!
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)
This is probably a known bug. See long thread here:
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.
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?
The thread I linked to. Good luck!