mirror of
https://github.com/lovell/sharp.git
synced 2025-07-17 14:00:14 +02:00
21 lines
992 B
Markdown
21 lines
992 B
Markdown
---
|
|
name: Installation
|
|
about: Something went wrong during either 'npm install sharp' or 'require("sharp")'
|
|
labels: installation
|
|
|
|
---
|
|
|
|
Did you see the [documentation relating to installation](https://sharp.pixelplumbing.com/install)?
|
|
|
|
Have you ensured 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? Is the version currently in use as reported by `npm ls sharp` the same as the latest version as reported by `npm view sharp dist-tags.latest`?
|
|
|
|
If you are installing as a `root` or `sudo` user, have you tried with the `npm install --unsafe-perm` 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`? Have you checked this output for useful error messages?
|
|
|
|
What is the output of running `npx envinfo --binaries --system`?
|