Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major - P3
-
1.35.0
-
None
-
Mongo compass version: latest (1.35.0)
Operating system: MacOS
-
Not Needed
Description
Problem Statement/Rationale
Encountering this issue after running even simple query (db.coll.findOne({}) in mongo shell inside mongo compass.
ReferenceError: app is not defined
|
if (_fs === "returned") return _srv;else if (_fs === "threw") throw _srv; |
^
|
|
|
ReferenceError: app is not defined
|
at evalmachine.<anonymous>:36:162 |
at evalmachine.<anonymous>:208:5 |
at evalmachine.<anonymous>:213:3 |
at Script.runInContext (node:vm:139:12) |
at Object.runInContext (node:vm:289:6) |
at ElectronInterpreterEnvironment.sloppyEval (/Applications/MongoDB Compass.app/Contents/Resources/app.asar.unpacked/node_modules/@mongosh/node-runtime-worker-thread/dist/worker-runtime.js:1917:2160437) |
at ShellEvaluator.innerEval (/Applications/MongoDB Compass.app/Contents/Resources/app.asar.unpacked/node_modules/@mongosh/node-runtime-worker-thread/dist/worker-runtime.js:1917:3905059) |
at ShellEvaluator.customEval (/Applications/MongoDB Compass.app/Contents/Resources/app.asar.unpacked/node_modules/@mongosh/node-runtime-worker-thread/dist/worker-runtime.js:1917:3905203) |
at OpenContextRuntime.evaluate (/Applications/MongoDB Compass.app/Contents/Resources/app.asar.unpacked/node_modules/@mongosh/node-runtime-worker-thread/dist/worker-runtime.js:1917:2159555) |
at ElectronRuntime.evaluate (/Applications/MongoDB Compass.app/Contents/Resources/app.asar.unpacked/node_modules/@mongosh/node-runtime-worker-thread/dist/worker-runtime.js:1917:2160971) |
Steps to Reproduce
Encountered this during using the MongoSH in mongo compass.
Expected Results
Able to run the commands on database inside mongosh.
Actual Results
The error visible above.