Show a warning for users on old Node.js versions

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • vNext
    • Affects Version/s: None
    • Component/s: None
    • None
    • Needed
    • Hide

      We've added the following warning message when a user starts mongosh using the `npx` command and they use an unsupported Node.js version:

      Node.js {CURRENT_NODE_VERSION} is unsupported and mongosh may not behave as expected.
      Upgrade your Node.js runtime to a supported version or download mongosh from: https://www.mongodb.com/try/download/shell
      
      Show
      We've added the following warning message when a user starts mongosh using the `npx` command and they use an unsupported Node.js version: Node.js {CURRENT_NODE_VERSION} is unsupported and mongosh may not behave as expected. Upgrade your Node.js runtime to a supported version or download mongosh from: https: //www.mongodb.com/ try /download/shell
    • Developer Tools

      Once we are fully compatible with Node.js 24, make sure when a user is using an older Node.js we issue a warning on startup.

      This should only affect users using the npx version of mongosh.

            Assignee:
            Kevin Mas Ruiz
            Reporter:
            Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: