Provide guidance on (mis)use of sudo with npm install

This commit is contained in:
Lovell Fuller 2019-07-29 11:48:18 +01:00
parent 16e429cf2c
commit 2ed4b5ae83

View File

@ -12,3 +12,5 @@ What is the output of running `npm install --verbose sharp`?
What is the output of running `npx envinfo --binaries --languages --system --utilities`?
Have you ensured the platform and version of Node.js used for `npm install` is the same as the platform and version of Node.js used at runtime?
If you're using `sudo npm install` have you tried with the `sudo npm install --unsafe-perm` flag?