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

Help users with outdated Node versions

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Labels:
      None
    • 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:
      https://github.com/apache/couchdb-fauxton/blob/master/version-check.js

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: