The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
"sudo npm install -g gatsby-cli" results in "npm ERR! cb() never called!"
Just trying to get started with GatsbyJS. I have NPM version 6.7.0 and Node version 8.9.2.
sudo npm install -g gatsby-cli gets me this:
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/wilfhorsfall/.npm/_logs/2019-04-18T10_37_00_137Z-debug.log
I’ve uploaded the log here: 2019-04-18T10_37_00_137Z-debug.log (284.7 KB)
Would love some help here.
I fixed the issue by installing the latest version of Node using NVM.