From 6aa6a93b4487c5063a5448c2cb86f635a700fdad Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Sun, 19 Jan 2020 19:27:50 +0000 Subject: [PATCH] Docs: add details of ignore-scripts to installation guide --- docs/install.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/install.md b/docs/install.md index 26e73899..fe3f773e 100644 --- a/docs/install.md +++ b/docs/install.md @@ -54,6 +54,8 @@ must be the same as the platform and major version of Node.js used at runtime. The `npm install --unsafe-perm` flag must be used when installing as `root` or a `sudo` user. +The `npm install --ignore-scripts=false` flag must be used when `npm` has been configured to ignore installation scripts. + Check the output of running `npm install --verbose sharp` for useful error messages. ## Custom libvips