recommend fixing permissions over using sudo

This commit is contained in:
Zeke Sikelianos 2017-08-08 20:43:57 -07:00
parent 1e4232eb3a
commit 3a1d6e7a42

View file

@ -59,11 +59,8 @@ You can also attempt to download Electron directly from
[electron/electron/releases](https://github.com/electron/electron/releases)
if installing via `npm` is failing.
If installation fails with an `EACCESS` error you may have to run it again with `sudo`:
```sh
sudo npm install electron
```
If installation fails with an `EACCESS` error you may need to
[fix your npm permissions](https://docs.npmjs.com/getting-started/fixing-npm-permissions).
If the above error persists, the [unsafe-perm](https://docs.npmjs.com/misc/config#unsafe-perm) flag may need to be set to true: