From 2ed4b5ae83af4bdc0fcdf2d1d271a98b3d0ab05f Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Mon, 29 Jul 2019 11:48:18 +0100 Subject: [PATCH] Provide guidance on (mis)use of sudo with npm install --- .github/ISSUE_TEMPLATE/installation.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/installation.md b/.github/ISSUE_TEMPLATE/installation.md index f7bc3cba..91036398 100644 --- a/.github/ISSUE_TEMPLATE/installation.md +++ b/.github/ISSUE_TEMPLATE/installation.md @@ -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?