-
Notifications
You must be signed in to change notification settings - Fork 15k
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
install electron with Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/electron/electron-tmp-download-4860-1517066058438' #11755
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines. |
You need to set the permissions of For more info on these NPM errors please see: Troubleshooting Installation |
npm install -g electron --unsafe-perm=true --allow-root |
@wan-ghuan try this Hope that helped |
sudo npm install -g electron --unsafe-perm=true --allow-root |
I still have this issue and the command posted by @obendesmond also worked. |
npm install -g electron --unsafe-perm=true --allow-root
It worked! Thanks! |
It works for the 1st time only. After again reopening the app, it still shows the error EACCES: permission denied! |
Thats worked for me |
thank you! This worked 😄 |
On my Debian stretch Chromebook subsystem-thingy, I had the same issue; solved via |
This problem is solved, too! THX :) |
It worked .thx |
unsafe-perm worked for me too. I've never touched that directory myself, only through apt so I'm a little confused. Electron was also already there previously, I needed to reinstall it following an attempt to install bue-devtools. |
for me needed sudo $ sudo npm install -g electron --unsafe-perm=true --allow-root |
The text was updated successfully, but these errors were encountered: