vseventer / sharp-cli

CLI for sharp.
MIT License
189 stars 20 forks source link

npm installation directory #2

Closed emmtte closed 8 years ago

emmtte commented 8 years ago

The npm install on wrong directory

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.0.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/node_modules/sharp/.node-gyp"

should be /usr/local/lib/nod_modules/sharp/ and /usr/local/bin for node_modules/.bin

vseventer commented 8 years ago

This looks like a problem with either node-gyp or sharp - would be better to open an issue there.