[NPMCLI-95] Help users with outdated Node versions Created: 01/Feb/17 Updated: 09/Feb/17 Resolved: 06/Feb/17 |
|
| Status: | Closed |
| Project: | Magnolia CLI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Robert Kowalski | Assignee: | Robert Kowalski |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Date of First Response: | |
| Sprint: | Basel 82 |
| Story Points: | 1 |
| Description |
|
Provide a nice warning with instructions how to continue to users with outdated Node versions. The warning can be required in our main entry point. Pseudocode:
require('./node-version-warning.js')
// node-version-warning.js if (/.6/.test(process.version)) { throw new Error('please download Node 6 from example.org')} Real world example: |
| Comments |
| Comment by Christopher Zimmermann [ 01/Feb/17 ] |
|
Also consider adding required node version via: |