npm ERR! Linux 3.13.0-57-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! path /home/cyper/.npm/grunt-concurrent/1.0.1
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! Error: EACCES, mkdir '/home/cyper/.npm/grunt-concurrent/1.0.1'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES, mkdir '/home/cyper/.npm/grunt-concurrent/1.0.1']
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! path: '/home/cyper/.npm/grunt-concurrent/1.0.1',
npm ERR! parent: 'learnangular' }
解决办法:(cyper ubuntu12.04验证通过)
Try this:
sudo chown -R $USER:$GROUP ~/.npm
Taken from this thread:
#5649
参考:
https://github.com/npm/npm/issues/5869