FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal. PLS HELP

javascript

#1

FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal.

1: node::Abort() [node]

2: 0x8ccf9c [node]

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

4: Require(v8::Local<v8::Object>, char const*) [/rbd/pnpm-volume/eed25444-cc35-4867-903d-71b7cccfe560/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/eed25444-cc35-4867-903d-71b7cccfe560/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/eed25444-cc35-4867-903d-71b7cccfe560/node_modules/.registry.npmjs.org/better-sqlite3/4.2.0/node_modules/better-sqlite3/build/Release/better_sqlite3.node]

7: 0x8ce97d [node]

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

9: 0xb0d72c [node]

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

11: 0x6000bf042fd

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

Please help :frowning:


#2

The problem is solved, change the NODE Version.