Closed filipedeschamps closed 9 years ago
Try
chown -R $(whoami) ~/.npm
to take ownership of that dir....
Works for some of our Mac users who have issues with this directory.
Thanks @laurelnaiad now I'm receiving in another file, very strange:
npm ERR! EEXIST, open '/Users/filipedeschamps/.npm/e4ec8a3b-ps-npm-esprima-1-2-2-package-tgz.lock'
File exists: /Users/filipedeschamps/.npm/e4ec8a3b-ps-npm-esprima-1-2-2-package-tgz.lock
Move it away, and try again.
npm ERR! System Darwin 14.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "angular-hint" "--save-dev"
npm ERR! cwd /Users/filipedeschamps/Library/Mobile Documents/com~apple~CloudDocs/development/insiderNews
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! path /Users/filipedeschamps/.npm/e4ec8a3b-ps-npm-esprima-1-2-2-package-tgz.lock
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! not ok code 0
We're currently seeing this on TravisCI as well...
Looking into it.
This is due to a race condition in 1.x
versions of npm.
There's no way to install it, every time I receive this error message: