You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/installation.md
+24-5Lines changed: 24 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,18 +7,37 @@ labels: installation
7
7
8
8
<!-- Please try to answer as many of these questions as possible. -->
9
9
10
-
Did you see the [documentation relating to installation](https://sharp.pixelplumbing.com/install)?
10
+
## Possible install-time or require-time problem
11
11
12
-
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?
12
+
<!-- Please place an [x] in the box to confirm. -->
13
13
14
-
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`?
14
+
-[ ] I have read the [documentation relating to installation](https://sharp.pixelplumbing.com/install)?
15
+
-[ ] 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.
16
+
17
+
### Are you using the latest version of sharp?
18
+
19
+
<!-- Please place an [x] in the box to confirm. -->
20
+
21
+
-[ ] I am using the latest version of `sharp` as reported by `npm view sharp dist-tags.latest`.
22
+
23
+
If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
24
+
25
+
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.
26
+
27
+
### Is this a problem with filesystem permissions?
15
28
16
29
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?
17
30
18
31
If you are using npm v7 or later, does the user running `npm install` own the directory it is run in?
19
32
20
33
If you are using the `ignore-scripts` feature of `npm`, have you tried with the `npm install --ignore-scripts=false` flag?
21
34
22
-
What is the complete output of running `npm install --verbose sharp`? Have you checked this output for useful error messages?
35
+
### What is the complete output of running `npm install --verbose sharp`?
36
+
37
+
<details>
38
+
<!-- Please provide output of the above command here. -->
39
+
</details>
40
+
41
+
### What is the output of running `npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp`?
23
42
24
-
What is the output of running `npx envinfo --binaries --system`?
43
+
<!-- Please provide output of the above command here.-->
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/possible-bug.md
+37-6Lines changed: 37 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,45 @@ labels: triage
7
7
8
8
<!-- If this issue relates to installation, please use https://github.com/lovell/sharp/issues/new?labels=installation&template=installation.md instead. -->
9
9
10
-
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`?
10
+
## Possible bug
11
11
12
-
What are the steps to reproduce?
12
+
### Is this a possible bug in a feature of sharp, unrelated to installation?
13
13
14
-
What is the expected behaviour?
14
+
<!-- Please place an [x] in the box to confirm. -->
15
15
16
-
Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?
16
+
-[ ] Running `npm install sharp` completes without error.
17
+
-[ ] Running `node -e "require('sharp')"` completes without error.
17
18
18
-
Are you able to provide a sample image that helps explain the problem?
19
+
If you cannot confirm both of these, please open an
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/question.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,20 @@ labels: question
7
7
8
8
<!-- If this issue relates to installation, please use https://github.com/lovell/sharp/issues/new?labels=installation&template=installation.md instead. -->
9
9
10
-
What are you trying to achieve?
10
+
## Question about an existing feature
11
11
12
-
Have you searched for similar questions?
12
+
### What are you trying to achieve?
13
13
14
-
Are you able to provide a minimal, standalone code sample that demonstrates this question?
14
+
<!-- Please provide context here. -->
15
15
16
-
Are you able to provide a sample image that helps explain the question?
16
+
### When you searched for similar issues, what did you find that might be related?
17
+
18
+
<!-- Please demonstrate your research here. -->
19
+
20
+
### Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question
21
+
22
+
<!-- Please provide either formatted code or a link to a repo/gist that helps someone else understand here. -->
23
+
24
+
### Please provide sample image(s) that help explain this question
25
+
26
+
<!-- Please provide links to one or more images here. -->
0 commit comments