Install: allow cross-libc via sharp-install-force flag (#2692)

This commit is contained in:
Sebastian
2021-05-10 10:55:20 +02:00
committed by GitHub
parent 070534df5b
commit 476448b9d4
2 changed files with 14 additions and 3 deletions

View File

@@ -54,6 +54,8 @@ When using npm v6 or earlier, the `npm install --unsafe-perm` flag must be used
When using npm v7, the user running `npm install` must own the directory it is run in.
When installing cross platform prebuilts on linux hosts an installation can be forced by `--sharp-install-force` flag or by setting `SHARP_INSTALL_FORCE` env variable.
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.