node-gyp icon indicating copy to clipboard operation
node-gyp copied to clipboard

Warning "root" does not have permission to access the dev dir #454

Open cliveb opened this issue 11 years ago • 3 comments

tjwebb opened this issue on Jun 7, 2014 - still open April 7, 2015

https://github.com/TooTallNate/node-gyp/issues/454

NodeSchool is using node-gyp newbs are coming across the issue.

Install the core workshops with these commands: npm install -g learnyounode npm install -g javascripting npm install -g git-it npm install -g how-to-npm npm install -g stream-adventure

cliveb avatar Apr 08 '15 22:04 cliveb

I had the same problem. The solution was to give my user access to the folder where npm was installed.

I fixed it with: sudo chown -R $USER which npm

ngonzalvez avatar May 21 '15 03:05 ngonzalvez

+1

@Kryz not works for me,

iojs v2.2.1

leecade avatar Jun 12 '15 08:06 leecade

No solution found for iojs v1.6.2. I switched to node v0.12.4 and the installation worked.

aleclarson avatar Jun 30 '15 18:06 aleclarson