mirror of
https://github.com/lovell/sharp.git
synced 2025-07-16 05:30:13 +02:00
1.9 KiB
1.9 KiB
name, about, labels
name | about | labels |
---|---|---|
Installation | Something went wrong during either 'npm install sharp' or 'require("sharp")' | installation |
Possible install-time or require-time problem
- I have read the documentation relating to installation.
- I have ensured that the architecture and platform of Node.js used for
npm install
is the same as the architecture and platform of Node.js used at runtime.
Are you using the latest version of sharp?
- I am using the latest version of
sharp
as reported bynpm view sharp dist-tags.latest
.
If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp
that is not the latest, please open an issue against that package instead.
Is this a problem with filesystem permissions?
If you are using npm v6 or earlier and installing as a root
or sudo
user, have you tried with the npm install --unsafe-perm
flag?
If you are using npm v7 or later, does the user running npm install
own the directory it is run in?
If you are using the ignore-scripts
feature of npm
, have you tried with the npm install --ignore-scripts=false
flag?