Docs: mention npm's foreground-scripts option to aid debugging

This commit is contained in:
Lovell Fuller 2022-04-18 09:51:27 +01:00
parent 985e881e7a
commit 36e55969d2
2 changed files with 3 additions and 3 deletions

View File

@ -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? 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?
<details> <details>
<!-- Please provide output of `npm install --verbose sharp` here. --> <!-- Please provide output of `npm install --verbose --foreground-scripts sharp` in an empty directory here. -->
</details> </details>

View File

@ -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. 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 ## Apple M1