From 36e55969d2442229452457cdd6cf85f99e1e7ceb Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Mon, 18 Apr 2022 09:51:27 +0100 Subject: [PATCH] Docs: mention npm's foreground-scripts option to aid debugging --- .github/ISSUE_TEMPLATE/installation.md | 4 ++-- docs/install.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/installation.md b/.github/ISSUE_TEMPLATE/installation.md index 1acb6953..a2695076 100644 --- a/.github/ISSUE_TEMPLATE/installation.md +++ b/.github/ISSUE_TEMPLATE/installation.md @@ -32,11 +32,11 @@ If you are using npm v7 or later, does the user running `npm install` own the di If you are using the `ignore-scripts` feature of `npm`, have you tried with the `npm install --ignore-scripts=false` flag? -### What is the complete output of running `npm install --verbose sharp`? +### What is the complete output of running `npm install --verbose --foreground-scripts sharp` in an empty directory?
- +
diff --git a/docs/install.md b/docs/install.md index 1ed53309..71dbd0ca 100644 --- a/docs/install.md +++ b/docs/install.md @@ -57,7 +57,7 @@ When using npm v7 or later, the user running `npm install` must own the director 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. +Check the output of running `npm install --verbose --foreground-scripts sharp` for useful error messages. ## Apple M1