-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.0.5
-
Component/s: CLI Module
-
None
-
Iteration Kampala
-
Not Needed
When running in MONGOSH_RUN_NODE_SCRIPT mode as a compiled binary, mongosh does not handle process.argv properly and instead tries to execute itself as a JS script.
This breaks running snippets in scenarios where npm is not available globally.