Hello everyone, we are encountering this issue after running even simple query (db.coll.findOne({}) in mongo shell inside mongo compass. Has anyone encountered similar problem? Are there any suggestions to solve it?
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)
Current mongo compass version: 1.35.0
Operation system: MacOS
I’d like to inform you that I connected to the same instance as previously but using pymongo and then I could run the queries without problem, I didn’t receive that was mentioned above.