-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install web3 node-gyp permission denied #1232
Comments
did you check here? I've found a solution there for similar problem I had on mac. |
It's likely that node was installed as root which is why you're running into a permission issue. Try running command with sudo. |
$ sudo npm install --save package_name --unsafe-perm=true --allow-root |
@zidzid1234 |
i deleted .npm from home directory by type ctl-h and then deleted the .npm folder and again run the npm install web3 (ubuntu 16.04) |
Trying to install web3 on Ubuntu 17.04 node version 8.2.0 and npm version 5.6.0
The text was updated successfully, but these errors were encountered: