Skip to content

Commit 70e36f0

Browse files
authored
Warn about npm 5 in issue template
1 parent 31a4d14 commit 70e36f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/ISSUE_TEMPLATE.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
22

3-
### Can you reproduce the problem with latest npm?
3+
### Can you reproduce the problem with npm 4.x?
44

55
Many errors, especially related to "missing modules", are due to npm bugs.
66

7-
If you're using Windows, [follow these instructions to update npm](https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows).
8-
9-
If you're using OS X or Linux, run this to update npm:
7+
Try to update npm to 4.x first:
108

119
```
12-
npm install -g npm@latest
10+
npm install -g npm@4
1311
1412
cd your_project_directory
1513
rm -rf node_modules
1614
npm install
1715
```
1816

17+
**This is especially important if `npm -v` gives you 5 because npm 5 is [known to have many issues](https://github.com/npm/npm/issues/16991).**
18+
1919
Then try to reproduce the issue again.
2020

2121
Can you still reproduce it?

0 commit comments

Comments
 (0)