FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal. w/ my discord bot


#1

ı have a error. How to fix? İt’s my discord bot code.

 FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal.

 1: node::Abort() [node]

 2: 0x8cce9c [node]

 3: v8::Utils::ReportApiFailure(char const*, char const*) [node]

 4: Require(v8::Local<v8::Object>, char const*) [/rbd/pnpm-volume/f6190f6b-a76e-4e20-85ab-8961507826fa/node_modules/.registry.npmjs.org/better-sqlite3/4.2.0/node_modules/better-sqlite3/build/Release/better_sqlite3.node]

 5: Integer::Init(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Object>) [/rbd/pnpm-volume/f6190f6b-a76e-4e20-85ab-8961507826fa/node_modules/.registry.npmjs.org/better-sqlite3/4.2.0/node_modules/better-sqlite3/build/Release/better_sqlite3.node]

 6: RegisterModule(v8::Local<v8::Object>, v8::Local<v8::Object>) [/rbd/pnpm-volume/f6190f6b-a76e-4e20-85ab-8961507826fa/node_modules/.registry.npmjs.org/better-sqlite3/4.2.0/node_modules/better-sqlite3/build/Release/better_sqlite3.node]

 7: 0x8ce87d [node]

 8: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) [node]

 9: 0xb0d64c [node]

10: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [node]

11: 0x14c29b4042fd

/opt/watcher/app-types/node/start.sh: line 49:  4967 Aborted                 (core dumped) node server.js

#2

Hi @zined87, welcome to the Glitch Forums!

There’s not much useful here to go on, but we’ve seen this before and it’s turned out to be pretty transitory and seems to have resolved itself without any action on our part. Are you still having the issue? If you are can you provide your project name so we can take a closer look?