- 
    Type:Bug 
- 
    Resolution: Fixed
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: CLI Module
- 
    Environment:OS:
 node.js / npm versions:
 Additional info:
 
Homebrew auto-updates mongosh users to the latest Node.js version. Node.js 23 supports require() for ESM modules, but prints a warning about it.
attempts to load node-fetch first via plain import(), which gets transpiled to require() (so that it works fine in webpack'ed applications), which failed in non-webpack'ed environments before Node.js 23 but now succeeds with the warning.