Official comment
Solved it by running the following command:
sudo chown -R $USER:$GROUP ~/.npm
When starting the base provider for the first time on a mac I get the following error:
$ node start
INSTALLING REQUIRED NPM MODULES - THIS CAN TAKE A FEW MINUTES
Error: Command failed: /bin/sh: line 0: cd: provider: No such file or directory
npm WARN package.json AtajoBaseProvider@1.0.1 No README data
npm WARN deprecated jQuery@1.7.4: This is deprecated. Please use 'jquery' (all lowercase).
npm ERR! Error: EACCES, mkdir '/Users/cobusbron/.npm/request/2.55.0'
npm ERR! { [Error: EACCES, mkdir '/Users/cobusbron/.npm/request/2.55.0']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/Users/cobusbron/.npm/request/2.55.0',
npm ERR! parent: 'AtajoBaseProvider' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
Solved it by running the following command:
sudo chown -R $USER:$GROUP ~/.npm
Please sign in to leave a comment.