FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal. helpp

FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal.
1: 0x8db8c0 node::Abort() [node]
2: 0x8db90c [node]
3: 0xad61fa v8::Utils::ReportApiFailure(char const*, char const*) [node]
4: 0x7f2f04401ec9 Require(v8::Local<v8::Object>, char const*) [/rbd/pnpm-volume/239ba2c5-1581-4b29-8ec7-9ebf06923753/node_modules/.registry.npmjs.org/better-sqlite3/5.2.1/node_modules/better-sqlite3/build/better_sqlite3.node]
5: 0x7f2f0440232e Integer::Init(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Object>) [/rbd/pnpm-volume/239ba2c5-1581-4b29-8ec7-9ebf06923753/node_modules/.registry.npmjs.org/better-sqlite3/5.2.1/node_modules/better-sqlite3/build/better_sqlite3.node]
6: 0x7f2f044096e7 RegisterModule(v8::Local<v8::Object>, v8::Local<v8::Object>) [/rbd/pnpm-volume/239ba2c5-1581-4b29-8ec7-9ebf06923753/node_modules/.registry.npmjs.org/better-sqlite3/5.2.1/node_modules/better-sqlite3/build/better_sqlite3.node]
7: 0x8dcbbd [node]
8: 0xb5eb3f [node]
9: 0xb5f6a9 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [node]
10: 0x2311f855be1d
/opt/watcher/app-types/node/start.sh: line 49: 23638 Aborted (core dumped) node bot.js

Please help me
Project name : hozbot


MOD EDIT: formatting

Hi @LycusEmirv1, thanks for providing all the information we needed to investigate this up front!

It looks like others have seen this issue with better-sqlite3 and that rebuilding the package has served to resolve the issue in the past. I temporarily remixed your project, saw the same errors, and then ran enable-pnpm in the project’s console and the errors seem to resolve themselves. https://support-assets.glitch.me/logs-pane-console gives a quick overview of how to access the console for your project.

Let us know if that helps. Happy Glitching!