6.0 Fix failing serverless tests

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: 6.0.0
    • Component/s: CI, Serverless
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Serverless tests are failing on the 6.0 CI due to an invalid NPM version:

      https://spruce.mongodb.com/task/node_mongodb_native_6.0_rhel8_test_serverless_test_serverless_f2dbad738cfe38f00b7c5c69038db5e7f4c19f0f_24_01_31_15_09_54/logs?execution=0

      [2024/01/31 17:37:06.238] npm ERR! code EBADENGINE
      [2024/01/31 17:37:06.239] npm ERR! engine Unsupported engine
      [2024/01/31 17:37:06.239] npm ERR! engine Not compatible with your version of node/npm: npm@10.4.0
      [2024/01/31 17:37:06.239] npm ERR! notsup Not compatible with your version of node/npm: npm@10.4.0
      [2024/01/31 17:37:06.239] npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"}
      [2024/01/31 17:37:06.239] npm ERR! notsup Actual:   {"npm":"8.19.4","node":"v16.20.2"}
      [2024/01/31 17:37:06.240] npm ERR! A complete log of this run can be found in:
      [2024/01/31 17:37:06.240] npm ERR!     /home/ec2-user/.npm/_logs/2024-01-31T16_37_06_027Z-debug-0.log

            Assignee:
            Unassigned
            Reporter:
            Durran Jordan
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: