polygerrit: Add note in README about npm install
When installing web-component-tester fails with the error: "EACCES: permission denied, mkdir" it can be fixed by adding the `--unsafe-perm=true --allow-root` options as described in [1]. [1] https://github.com/npm/npm/issues/17268#issuecomment-310167614 Change-Id: I397d31209c019ebbe52bf24bd9e359d71863ffd7
This commit is contained in:
@@ -90,6 +90,9 @@ brew install npm
|
|||||||
sudo npm install -g web-component-tester
|
sudo npm install -g web-component-tester
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note: it may be necessary to add the options `--unsafe-perm=true --allow-root`
|
||||||
|
to the `npm install` command to avoid file permission errors.
|
||||||
|
|
||||||
Run all web tests:
|
Run all web tests:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
Reference in New Issue
Block a user