Skip to content

Commit

Permalink
recommend fixing permissions over using sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
zeke committed Aug 9, 2017
1 parent 1e4232e commit 3a1d6e7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/tutorial/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 3a1d6e7

Please sign in to comment.