OINOH server started.
error on boot.js Error: findOne is not available on the server. Please use findOneAsync() instead.
at Object.ret.<computed> [as findOne] (packages/mongo/remote_collection_driver.ts:92:15)
at Collection.findOne (packages/mongo/collection/methods_sync.js:51:29)
at webpack:/target-app/imports/startup/server/seed.js:15:37
at Function.time (/srv/ai-control-panel/workspaces/rhKeZeRN6p6ewARKb/.meteor/local/build/programs/server/tools/tool-env/profile.ts:646:30)
at /tools/static-assets/server/boot.js:453:19
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at /tools/static-assets/server/boot.js:503:5
at startServerProcess (/tools/static-assets/server/boot.js:501:3)
Error: findOne is not available on the server. Please use findOneAsync() instead.
at Object.ret.<computed> [as findOne] (packages/mongo/remote_collection_driver.ts:92:15)
at Collection.findOne (packages/mongo/collection/methods_sync.js:51:29)
at webpack:/target-app/imports/startup/server/seed.js:15:37
at Function.time (/srv/ai-control-panel/workspaces/rhKeZeRN6p6ewARKb/.meteor/local/build/programs/server/tools/tool-env/profile.ts:646:30)
at /tools/static-assets/server/boot.js:453:19
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at /tools/static-assets/server/boot.js:503:5
at startServerProcess (/tools/static-assets/server/boot.js:501:3)
Exited with code: 1
Your application is crashing. Waiting for file change.
Fix the error in your code and save your files. Once your server is running without errors, then reload this page.