reactql / kit

ReactQL starter kit (use the CLI)
https://reactql.org
229 stars 38 forks source link

building on google compute engine failing #144

Closed tsdexter closed 6 years ago

tsdexter commented 6 years ago

I'm trying to sudo npm install on a google compute engine running Debian 9 (stretch) image with Node 8.9.4 and I just keep getting:

gyp WARN EACCES user "root" does not have permission to access the dev dir "/var/www/html/app/node_modules/iltorb/.node-gyp/8.9.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/www/html/app/node_modules/iltorb/.node-gyp"

Using nvm exec sudo npm install doesn't work either as suggested here: https://github.com/nodejs/node-gyp/issues/454#issuecomment-315691803

Any idea whats going on?

tsdexter commented 6 years ago

Using proper docker without issue now