Docs: add info about npm v7 directory ownership change

This commit is contained in:
Lovell Fuller
2021-01-24 16:52:10 +00:00
parent 4c57ac2bbe
commit f09be932eb
2 changed files with 6 additions and 2 deletions

View File

@@ -11,7 +11,9 @@ Have you ensured the architecture and platform of Node.js used for `npm install`
Are you using the latest version? Is the version currently in use as reported by `npm ls sharp` the same as the latest version as reported by `npm view sharp dist-tags.latest`?
If you are installing as a `root` or `sudo` user, have you tried with the `npm install --unsafe-perm` flag?
If you are using npm v6 or earlier and installing as a `root` or `sudo` user, have you tried with the `npm install --unsafe-perm` flag?
If you are using npm v7, does the user running `npm install` own the directory it is run in?
If you are using the `ignore-scripts` feature of `npm`, have you tried with the `npm install --ignore-scripts=false` flag?