Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-95

Help users with outdated Node versions

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.0
    • None
    • None
    • Basel 82
    • 1

      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:
      https://github.com/apache/couchdb-fauxton/blob/master/version-check.js

        Acceptance criteria

              rkowalski Robert Kowalski
              rkowalski Robert Kowalski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD