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:
David Pursehouse
2018-01-29 10:15:41 +09:00
parent e0dd240c58
commit a35fa9012f

View File

@@ -90,6 +90,9 @@ brew install npm
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:
```sh