FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal


#1
FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal.
1: node::Abort() [node]
2: 0x8cbf4c [node]
3: v8::Utils::ReportApiFailure(char const*, char const*) [node]
4: Require(v8::Local<v8::Object>, char const*) [/rbd/pnpm-volume/52507a75-8b19-4ed5-8a26-f4c604320e5a/node_modules/.registry.npmjs.org/better-sqlite3/4.1.4/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/52507a75-8b19-4ed5-8a26-f4c604320e5a/node_modules/.registry.npmjs.org/better-sqlite3/4.1.4/node_modules/better-sqlite3/build/Release/better_sqlite3.node]
6: RegisterModule(v8::Local<v8::Object>, v8::Local<v8::Object>) [/rbd/pnpm-volume/52507a75-8b19-4ed5-8a26-f4c604320e5a/node_modules/.registry.npmjs.org/better-sqlite3/4.1.4/node_modules/better-sqlite3/build/Release/better_sqlite3.node]
7: 0x8cd92d [node]
8: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) [node]
9: 0xb0bbec [node]
10: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [node]
11: 0x2e49684042fd
/opt/watcher/app-types/node/start.sh: line 43: 5660 Aborted (core dued) node index.js

#2

See my response to "better-sqlite3": "^4.1.4" not working