mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Issue templates: improve guidance, increase filtering
This commit is contained in:
29
.github/ISSUE_TEMPLATE/installation.md
vendored
29
.github/ISSUE_TEMPLATE/installation.md
vendored
@@ -7,11 +7,24 @@ labels: installation
|
||||
|
||||
<!-- Please try to answer as many of these questions as possible. -->
|
||||
|
||||
Did you see the [documentation relating to installation](https://sharp.pixelplumbing.com/install)?
|
||||
## Possible install-time or require-time problem
|
||||
|
||||
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?
|
||||
<!-- Please place an [x] in the box to confirm. -->
|
||||
|
||||
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`?
|
||||
- [ ] I have read the [documentation relating to installation](https://sharp.pixelplumbing.com/install)?
|
||||
- [ ] 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?
|
||||
|
||||
<!-- Please place an [x] in the box to confirm. -->
|
||||
|
||||
- [ ] I am using the latest version of `sharp` as reported by `npm 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?
|
||||
|
||||
@@ -19,6 +32,12 @@ 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`? Have you checked this output for useful error messages?
|
||||
### What is the complete output of running `npm install --verbose sharp`?
|
||||
|
||||
What is the output of running `npx envinfo --binaries --system`?
|
||||
<details>
|
||||
<!-- Please provide output of the above command here. -->
|
||||
</details>
|
||||
|
||||
### What is the output of running `npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp`?
|
||||
|
||||
<!-- Please provide output of the above command here. -->
|
||||
|
||||
Reference in New Issue
Block a user