npm install fails on mongosh 2.9.1

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.9.2
    • Affects Version/s: 2.9.1
    • Component/s: None
    • None
    • Environment:
      OS: Mac
      node.js / npm versions: 24.0.0
      Additional info:
    • Not Needed
    • Developer Tools

      Problem Statement/Rationale

      NPM Install fails with latest mongosh package (2.9.1) as it is trying to load the incorrect dependency versions (For e.g @mongosh/snippet-manager@5.3.0) but whereas in npm package there is no @mongosh/snippet-manager@5.3.0 package published. I can see @mongosh/snippet-manager@5.3.2 available on the npm published package. I would like the team update the correct dependency package versions on the mongosh 2.9.1 version.

      Please be sure to attach relevant logs with any sensitive data redacted.

      meeran@Meerans-MacBook-Pro db-scripts % npm install
      npm error code ETARGET
      npm error notarget No matching version found for @mongosh/snippet-manager@5.3.0.
      npm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.
      npm error A complete log of this run can be found in: /Users/meeran/.npm/_logs/2026-06-30T05_42_13_635Z-debug-0.log

      Steps to Reproduce

      after the mongosh version on package.json as 2.9.1 and execute the command "npm install"

      Expected Results

      npm install command should complete without failure

      Actual Results

      npm install fails

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            Neal Beeken
            Reporter:
            Mohamed Meeran (EXT)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: