Skip to content

Add steps to avoid sudo for npm and node on Linux #927

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

Merged
merged 1 commit into from
Aug 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ as well.

#### Frontend requirements

In order to run the frontend, you will need to have installed:
In order to run the frontend on Windows and macOS, you will need to have installed:

- [node](https://nodejs.org/en/) >= 6.10.0
- [npm](https://www.npmjs.com/get-npm) >= 4.0.0
Expand All @@ -82,7 +82,11 @@ Follow the links for each of these tools for their recommended installation
instructions. If you already have these tools, or you have a different
preferred method of installing packages like these, that should work fine.

> Note that you may need to install these as root using `sudo` in some cases.
If you are on Linux, use [nvm](https://github.com/creationix/nvm/blob/master/README.md)
to install to ensure that the use of `npm` does not require the use of `sudo`.

The front end should run fine after these steps. Please file an issue if you run
into any trouble.

#### Building and serving the frontend

Expand Down