We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm ERR! code 1 npm ERR! path /home/mb/Documentos/prometheus/node_modules/node-jasper/node_modules/java npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! make: Entrando no diretório '/home/mb/Documentos/prometheus/node_modules/node-jasper/node_modules/java/build' npm ERR! CXX(target) Release/obj.target/nodejavabridge_bindings/src/java.o npm ERR! CXX(target) Release/obj.target/nodejavabridge_bindings/src/javaObject.o npm ERR! CXX(target) Release/obj.target/nodejavabridge_bindings/src/javaScope.o npm ERR! CXX(target) Release/obj.target/nodejavabridge_bindings/src/methodCallBaton.o npm ERR! CXX(target) Release/obj.target/nodejavabridge_bindings/src/nodeJavaBridge.o npm ERR! CXX(target) Release/obj.target/nodejavabridge_bindings/src/utils.o npm ERR! SOLINK_MODULE(target) Release/obj.target/nodejavabridge_bindings.node npm ERR! make: Saindo do diretório '/home/mb/Documentos/prometheus/node_modules/node-jasper/node_modules/java/build' npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | linux | x64 npm ERR! gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3" npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/home/mb/Documentos/prometheus/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/mb/Documentos/prometheus/node_modules/node-jasper/node_modules/java/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/mb/Documentos/prometheus/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/mb/.cache/node-gyp/18.16.1/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/home/mb/.cache/node-gyp/18.16.1', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/mb/Documentos/prometheus/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/home/mb/.cache/node-gyp/18.16.1/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/mb/Documentos/prometheus/node_modules/node-jasper/node_modules/java', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: npm ERR! ../../../../nan/nan.h:2294:7: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type] npm ERR! 2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../../../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’: npm ERR! ../../../../nan/nan.h:2535:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::Localv8::AccessorSignature, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations] npm ERR! 2535 | tpl->SetAccessor( npm ERR! | ~~~~~~~~~~~~~~~~^ npm ERR! 2536 | name npm ERR! | ~~~~ npm ERR! 2537 | , getter_ npm ERR! | ~~~~~~~~~ npm ERR! 2538 | , setter_ npm ERR! | ~~~~~~~~~ npm ERR! 2539 | , obj npm ERR! | ~~~~~ npm ERR! 2540 | , settings npm ERR! | ~~~~~~~~~~ npm ERR! 2541 | , attribute npm ERR! | ~~~~~~~~~~~ npm ERR! 2542 | , signature); npm ERR! | ~~~~~~~~~~~~ npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-function.h:15, npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:33, npm ERR! from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-template.h:838:8: note: declared here npm ERR! 838 | void SetAccessor( npm ERR! | ^~~~~~~~~~~ npm ERR! In file included from ../src/utils.h:12, npm ERR! from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/javaObject.cpp:1: npm ERR! ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: npm ERR! ../../../../nan/nan.h:2294:7: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type] npm ERR! 2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../../../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’: npm ERR! ../../../../nan/nan.h:2535:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::Localv8::AccessorSignature, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations] npm ERR! 2535 | tpl->SetAccessor( npm ERR! | ~~~~~~~~~~~~~~~~^ npm ERR! 2536 | name npm ERR! | ~~~~ npm ERR! 2537 | , getter_ npm ERR! | ~~~~~~~~~ npm ERR! 2538 | , setter_ npm ERR! | ~~~~~~~~~ npm ERR! 2539 | , obj npm ERR! | ~~~~~ npm ERR! 2540 | , settings npm ERR! | ~~~~~~~~~~ npm ERR! 2541 | , attribute npm ERR! | ~~~~~~~~~~~ npm ERR! 2542 | , signature); npm ERR! | ~~~~~~~~~~~~ npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-function.h:15, npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:33, npm ERR! from ../src/javaObject.h:5, npm ERR! from ../src/javaObject.cpp:1: npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-template.h:838:8: note: declared here npm ERR! 838 | void SetAccessor( npm ERR! | ^~~~~~~~~~~ npm ERR! In file included from ../src/utils.h:12, npm ERR! from ../src/methodCallBaton.h:5, npm ERR! from ../src/methodCallBaton.cpp:2: npm ERR! ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: npm ERR! ../../../../nan/nan.h:2294:7: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type] npm ERR! 2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../../../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’: npm ERR! ../../../../nan/nan.h:2535:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::Localv8::AccessorSignature, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations] npm ERR! 2535 | tpl->SetAccessor( npm ERR! | ~~~~~~~~~~~~~~~~^ npm ERR! 2536 | name npm ERR! | ~~~~ npm ERR! 2537 | , getter_ npm ERR! | ~~~~~~~~~ npm ERR! 2538 | , setter_ npm ERR! | ~~~~~~~~~ npm ERR! 2539 | , obj npm ERR! | ~~~~~ npm ERR! 2540 | , settings npm ERR! | ~~~~~~~~~~ npm ERR! 2541 | , attribute npm ERR! | ~~~~~~~~~~~ npm ERR! 2542 | , signature); npm ERR! | ~~~~~~~~~~~~ npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-function.h:15, npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:33, npm ERR! from ../src/utils.h:6, npm ERR! from ../src/methodCallBaton.h:5, npm ERR! from ../src/methodCallBaton.cpp:2: npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-template.h:838:8: note: declared here npm ERR! 838 | void SetAccessor( npm ERR! | ^~~~~~~~~~~ npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/nodeJavaBridge.cpp:2: npm ERR! ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: npm ERR! ../../../../nan/nan.h:2294:7: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type] npm ERR! 2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../../../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’: npm ERR! ../../../../nan/nan.h:2535:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::Localv8::AccessorSignature, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations] npm ERR! 2535 | tpl->SetAccessor( npm ERR! | ~~~~~~~~~~~~~~~~^ npm ERR! 2536 | name npm ERR! | ~~~~ npm ERR! 2537 | , getter_ npm ERR! | ~~~~~~~~~ npm ERR! 2538 | , setter_ npm ERR! | ~~~~~~~~~ npm ERR! 2539 | , obj npm ERR! | ~~~~~ npm ERR! 2540 | , settings npm ERR! | ~~~~~~~~~~ npm ERR! 2541 | , attribute npm ERR! | ~~~~~~~~~~~ npm ERR! 2542 | , signature); npm ERR! | ~~~~~~~~~~~~ npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-function.h:15, npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:33, npm ERR! from ../src/java.h:5, npm ERR! from ../src/nodeJavaBridge.cpp:2: npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-template.h:838:8: note: declared here npm ERR! 838 | void SetAccessor( npm ERR! | ^~~~~~~~~~~ npm ERR! In file included from ../src/java.h:6, npm ERR! from ../src/nodeJavaBridge.cpp:2: npm ERR! ../src/nodeJavaBridge.cpp: At global scope: npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/node.h:997:7: warning: cast between incompatible function types from ‘void ()(v8::Localv8::Object)’ to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void*)’} [-Wcast-function-type] npm ERR! 997 | (node::addon_register_func) (regfunc), npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/node.h:1031:3: note: in expansion of macro ‘NODE_MODULE_X’ npm ERR! 1031 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) npm ERR! | ^~~~~~~~~~~~~ npm ERR! ../src/nodeJavaBridge.cpp:11:3: note: in expansion of macro ‘NODE_MODULE’ npm ERR! 11 | NODE_MODULE(nodejavabridge_bindings, init); npm ERR! | ^~~~~~~~~~~ npm ERR! In file included from ../src/utils.h:12, npm ERR! from ../src/utils.cpp:1: npm ERR! ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: npm ERR! ../../../../nan/nan.h:2294:7: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type] npm ERR! 2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../../../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’: npm ERR! ../../../../nan/nan.h:2535:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::Localv8::AccessorSignature, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations] npm ERR! 2535 | tpl->SetAccessor( npm ERR! | ~~~~~~~~~~~~~~~~^ npm ERR! 2536 | name npm ERR! | ~~~~ npm ERR! 2537 | , getter_ npm ERR! | ~~~~~~~~~ npm ERR! 2538 | , setter_ npm ERR! | ~~~~~~~~~ npm ERR! 2539 | , obj npm ERR! | ~~~~~ npm ERR! 2540 | , settings npm ERR! | ~~~~~~~~~~ npm ERR! 2541 | , attribute npm ERR! | ~~~~~~~~~~~ npm ERR! 2542 | , signature); npm ERR! | ~~~~~~~~~~~~ npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-function.h:15, npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:33, npm ERR! from ../src/utils.h:6, npm ERR! from ../src/utils.cpp:1: npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-template.h:838:8: note: declared here npm ERR! 838 | void SetAccessor( npm ERR! | ^~~~~~~~~~~ npm ERR! ../src/utils.cpp: In function ‘v8::Localv8::Value javaExceptionToV8(Java*, JNIEnv*, jthrowable, const string&)’: npm ERR! ../src/utils.cpp:455:30: warning: ignoring return value of ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, v8::Localv8::Value, v8::Localv8::Value)’, declared with attribute ‘warn_unused_result’ [-Wunused-result] npm ERR! 455 | ((v8::Object*)v8ex)->Set(Nan::GetCurrentContext(), Nan::Newv8::String("cause").ToLocalChecked(), javaToV8(java, env, ex)); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-array-buffer.h:13, npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:24, npm ERR! from ../src/utils.h:6, npm ERR! from ../src/utils.cpp:1: npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-object.h:244:37: note: declared here npm ERR! 244 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, npm ERR! | ^~~ npm ERR! ../src/utils.cpp: In function ‘v8::Localv8::Value javaArrayToV8(Java, JNIEnv*, jobjectArray)’: npm ERR! ../src/utils.cpp:648:20: warning: ignoring return value of ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, uint32_t, v8::Localv8::Value)’, declared with attribute ‘warn_unused_result’ [-Wunused-result] npm ERR! 648 | result->Set(Nan::GetCurrentContext(), i, JavaObject::New(java, obj)); npm ERR! | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-array-buffer.h:13, npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:24, npm ERR! from ../src/utils.h:6, npm ERR! from ../src/utils.cpp:1: npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-object.h:247:37: note: declared here npm ERR! 247 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, npm ERR! | ^~~ npm ERR! ../src/utils.cpp:658:20: warning: ignoring return value of ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, uint32_t, v8::Localv8::Value)’, declared with attribute ‘warn_unused_result’ [-Wunused-result] npm ERR! 658 | result->Set(Nan::GetCurrentContext(), i, item); npm ERR! | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-array-buffer.h:13, npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:24, npm ERR! from ../src/utils.h:6, npm ERR! from ../src/utils.cpp:1: npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-object.h:247:37: note: declared here npm ERR! 247 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, npm ERR! | ^~~ npm ERR! ../src/utils.cpp: In function ‘v8::Localv8::Value javaToV8(Java*, JNIEnv*, jobject, DynamicProxyData*)’: npm ERR! ../src/utils.cpp:721:34: warning: ignoring return value of ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, v8::Localv8::Value, v8::Localv8::Value)’, declared with attribute ‘warn_unused_result’ [-Wunused-result] npm ERR! 721 | v8ResultNumberObject->Set(Nan::GetCurrentContext(), Nan::Newv8::String("longValue").ToLocalChecked(), Nan::Newv8::String(strValue.c_str()).ToLocalChecked()); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-array-buffer.h:13, npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:24, npm ERR! from ../src/utils.h:6, npm ERR! from ../src/utils.cpp:1: npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-object.h:244:37: note: declared here npm ERR! 244 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, npm ERR! | ^~~ npm ERR! /usr/bin/ld: não foi possível localizar -ljvm: Arquivo ou diretório inexistente npm ERR! collect2: error: ld returned 1 exit status npm ERR! make: *** [nodejavabridge_bindings.target.mk:155: Release/obj.target/nodejavabridge_bindings.node] Erro 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: make failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/home/mb/Documentos/prometheus/node_modules/node-gyp/lib/build.js:203:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! System Linux 6.2.0-33-generic npm ERR! gyp ERR! command "/home/mb/.nvm/versions/node/v18.16.1/bin/node" "/home/mb/Documentos/prometheus/node_modules/.bin/node-gyp" "rebuild" npm ERR! gyp ERR! cwd /home/mb/Documentos/prometheus/node_modules/node-jasper/node_modules/java npm ERR! gyp ERR! node -v v18.16.1 npm ERR! gyp ERR! node-gyp -v v9.4.0 npm ERR! gyp ERR! not ok
make
npm ERR! A complete log of this run can be found in: npm ERR! /home/mb/.npm/_logs/2023-09-21T23_17_25_541Z-debug-0.log
NODE = v18.16.1 NPM = 9.5.1
Python 3.10.12
Python 2.7.18 (default, Jul 1 2022, 10:30:50) [GCC 11.2.0] on linux2 Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
I NEED HELP
The text was updated successfully, but these errors were encountered:
No branches or pull requests
npm ERR! code 1
npm ERR! path /home/mb/Documentos/prometheus/node_modules/node-jasper/node_modules/java
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! make: Entrando no diretório '/home/mb/Documentos/prometheus/node_modules/node-jasper/node_modules/java/build'
npm ERR! CXX(target) Release/obj.target/nodejavabridge_bindings/src/java.o
npm ERR! CXX(target) Release/obj.target/nodejavabridge_bindings/src/javaObject.o
npm ERR! CXX(target) Release/obj.target/nodejavabridge_bindings/src/javaScope.o
npm ERR! CXX(target) Release/obj.target/nodejavabridge_bindings/src/methodCallBaton.o
npm ERR! CXX(target) Release/obj.target/nodejavabridge_bindings/src/nodeJavaBridge.o
npm ERR! CXX(target) Release/obj.target/nodejavabridge_bindings/src/utils.o
npm ERR! SOLINK_MODULE(target) Release/obj.target/nodejavabridge_bindings.node
npm ERR! make: Saindo do diretório '/home/mb/Documentos/prometheus/node_modules/node-jasper/node_modules/java/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/home/mb/Documentos/prometheus/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/mb/Documentos/prometheus/node_modules/node-jasper/node_modules/java/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/mb/Documentos/prometheus/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/mb/.cache/node-gyp/18.16.1/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/home/mb/.cache/node-gyp/18.16.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/mb/Documentos/prometheus/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/home/mb/.cache/node-gyp/18.16.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/mb/Documentos/prometheus/node_modules/node-jasper/node_modules/java',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from ../src/java.h:9,
npm ERR! from ../src/java.cpp:1:
npm ERR! ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../../../nan/nan.h:2294:7: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
npm ERR! 2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../../../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
npm ERR! ../../../../nan/nan.h:2535:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::Localv8::AccessorSignature, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
npm ERR! 2535 | tpl->SetAccessor(
npm ERR! | ~~~~~~~~~~~~~~~~^
npm ERR! 2536 | name
npm ERR! | ~~~~
npm ERR! 2537 | , getter_
npm ERR! | ~~~~~~~~~
npm ERR! 2538 | , setter_
npm ERR! | ~~~~~~~~~
npm ERR! 2539 | , obj
npm ERR! | ~~~~~
npm ERR! 2540 | , settings
npm ERR! | ~~~~~~~~~~
npm ERR! 2541 | , attribute
npm ERR! | ~~~~~~~~~~~
npm ERR! 2542 | , signature);
npm ERR! | ~~~~~~~~~~~~
npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-function.h:15,
npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:33,
npm ERR! from ../src/java.h:5,
npm ERR! from ../src/java.cpp:1:
npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-template.h:838:8: note: declared here
npm ERR! 838 | void SetAccessor(
npm ERR! | ^~~~~~~~~~~
npm ERR! In file included from ../src/utils.h:12,
npm ERR! from ../src/methodCallBaton.h:5,
npm ERR! from ../src/javaObject.h:10,
npm ERR! from ../src/javaObject.cpp:1:
npm ERR! ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../../../nan/nan.h:2294:7: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
npm ERR! 2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../../../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
npm ERR! ../../../../nan/nan.h:2535:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::Localv8::AccessorSignature, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
npm ERR! 2535 | tpl->SetAccessor(
npm ERR! | ~~~~~~~~~~~~~~~~^
npm ERR! 2536 | name
npm ERR! | ~~~~
npm ERR! 2537 | , getter_
npm ERR! | ~~~~~~~~~
npm ERR! 2538 | , setter_
npm ERR! | ~~~~~~~~~
npm ERR! 2539 | , obj
npm ERR! | ~~~~~
npm ERR! 2540 | , settings
npm ERR! | ~~~~~~~~~~
npm ERR! 2541 | , attribute
npm ERR! | ~~~~~~~~~~~
npm ERR! 2542 | , signature);
npm ERR! | ~~~~~~~~~~~~
npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-function.h:15,
npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:33,
npm ERR! from ../src/javaObject.h:5,
npm ERR! from ../src/javaObject.cpp:1:
npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-template.h:838:8: note: declared here
npm ERR! 838 | void SetAccessor(
npm ERR! | ^~~~~~~~~~~
npm ERR! In file included from ../src/utils.h:12,
npm ERR! from ../src/methodCallBaton.h:5,
npm ERR! from ../src/methodCallBaton.cpp:2:
npm ERR! ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../../../nan/nan.h:2294:7: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
npm ERR! 2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../../../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
npm ERR! ../../../../nan/nan.h:2535:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::Localv8::AccessorSignature, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
npm ERR! 2535 | tpl->SetAccessor(
npm ERR! | ~~~~~~~~~~~~~~~~^
npm ERR! 2536 | name
npm ERR! | ~~~~
npm ERR! 2537 | , getter_
npm ERR! | ~~~~~~~~~
npm ERR! 2538 | , setter_
npm ERR! | ~~~~~~~~~
npm ERR! 2539 | , obj
npm ERR! | ~~~~~
npm ERR! 2540 | , settings
npm ERR! | ~~~~~~~~~~
npm ERR! 2541 | , attribute
npm ERR! | ~~~~~~~~~~~
npm ERR! 2542 | , signature);
npm ERR! | ~~~~~~~~~~~~
npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-function.h:15,
npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:33,
npm ERR! from ../src/utils.h:6,
npm ERR! from ../src/methodCallBaton.h:5,
npm ERR! from ../src/methodCallBaton.cpp:2:
npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-template.h:838:8: note: declared here
npm ERR! 838 | void SetAccessor(
npm ERR! | ^~~~~~~~~~~
npm ERR! In file included from ../src/java.h:9,
npm ERR! from ../src/nodeJavaBridge.cpp:2:
npm ERR! ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../../../nan/nan.h:2294:7: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
npm ERR! 2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../../../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
npm ERR! ../../../../nan/nan.h:2535:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::Localv8::AccessorSignature, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
npm ERR! 2535 | tpl->SetAccessor(
npm ERR! | ~~~~~~~~~~~~~~~~^
npm ERR! 2536 | name
npm ERR! | ~~~~
npm ERR! 2537 | , getter_
npm ERR! | ~~~~~~~~~
npm ERR! 2538 | , setter_
npm ERR! | ~~~~~~~~~
npm ERR! 2539 | , obj
npm ERR! | ~~~~~
npm ERR! 2540 | , settings
npm ERR! | ~~~~~~~~~~
npm ERR! 2541 | , attribute
npm ERR! | ~~~~~~~~~~~
npm ERR! 2542 | , signature);
npm ERR! | ~~~~~~~~~~~~
npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-function.h:15,
npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:33,
npm ERR! from ../src/java.h:5,
npm ERR! from ../src/nodeJavaBridge.cpp:2:
npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-template.h:838:8: note: declared here
npm ERR! 838 | void SetAccessor(
npm ERR! | ^~~~~~~~~~~
npm ERR! In file included from ../src/java.h:6,
npm ERR! from ../src/nodeJavaBridge.cpp:2:
npm ERR! ../src/nodeJavaBridge.cpp: At global scope:
npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/node.h:997:7: warning: cast between incompatible function types from ‘void ()(v8::Localv8::Object)’ to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void*)’} [-Wcast-function-type]
npm ERR! 997 | (node::addon_register_func) (regfunc),
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/node.h:1031:3: note: in expansion of macro ‘NODE_MODULE_X’
npm ERR! 1031 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/nodeJavaBridge.cpp:11:3: note: in expansion of macro ‘NODE_MODULE’
npm ERR! 11 | NODE_MODULE(nodejavabridge_bindings, init);
npm ERR! | ^~~~~~~~~~~
npm ERR! In file included from ../src/utils.h:12,
npm ERR! from ../src/utils.cpp:1:
npm ERR! ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
npm ERR! ../../../../nan/nan.h:2294:7: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
npm ERR! 2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../../../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
npm ERR! ../../../../nan/nan.h:2535:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::Localv8::AccessorSignature, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
npm ERR! 2535 | tpl->SetAccessor(
npm ERR! | ~~~~~~~~~~~~~~~~^
npm ERR! 2536 | name
npm ERR! | ~~~~
npm ERR! 2537 | , getter_
npm ERR! | ~~~~~~~~~
npm ERR! 2538 | , setter_
npm ERR! | ~~~~~~~~~
npm ERR! 2539 | , obj
npm ERR! | ~~~~~
npm ERR! 2540 | , settings
npm ERR! | ~~~~~~~~~~
npm ERR! 2541 | , attribute
npm ERR! | ~~~~~~~~~~~
npm ERR! 2542 | , signature);
npm ERR! | ~~~~~~~~~~~~
npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-function.h:15,
npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:33,
npm ERR! from ../src/utils.h:6,
npm ERR! from ../src/utils.cpp:1:
npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-template.h:838:8: note: declared here
npm ERR! 838 | void SetAccessor(
npm ERR! | ^~~~~~~~~~~
npm ERR! ../src/utils.cpp: In function ‘v8::Localv8::Value javaExceptionToV8(Java*, JNIEnv*, jthrowable, const string&)’:
npm ERR! ../src/utils.cpp:455:30: warning: ignoring return value of ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, v8::Localv8::Value, v8::Localv8::Value)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
npm ERR! 455 | ((v8::Object*)v8ex)->Set(Nan::GetCurrentContext(), Nan::Newv8::String("cause").ToLocalChecked(), javaToV8(java, env, ex));
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-array-buffer.h:13,
npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:24,
npm ERR! from ../src/utils.h:6,
npm ERR! from ../src/utils.cpp:1:
npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-object.h:244:37: note: declared here
npm ERR! 244 | V8_WARN_UNUSED_RESULT Maybe Set(Local context,
npm ERR! | ^~~
npm ERR! ../src/utils.cpp: In function ‘v8::Localv8::Value javaArrayToV8(Java, JNIEnv*, jobjectArray)’:
npm ERR! ../src/utils.cpp:648:20: warning: ignoring return value of ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, uint32_t, v8::Localv8::Value)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
npm ERR! 648 | result->Set(Nan::GetCurrentContext(), i, JavaObject::New(java, obj));
npm ERR! | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-array-buffer.h:13,
npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:24,
npm ERR! from ../src/utils.h:6,
npm ERR! from ../src/utils.cpp:1:
npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-object.h:247:37: note: declared here
npm ERR! 247 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
npm ERR! | ^~~
npm ERR! ../src/utils.cpp:658:20: warning: ignoring return value of ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, uint32_t, v8::Localv8::Value)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
npm ERR! 658 | result->Set(Nan::GetCurrentContext(), i, item);
npm ERR! | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-array-buffer.h:13,
npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:24,
npm ERR! from ../src/utils.h:6,
npm ERR! from ../src/utils.cpp:1:
npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-object.h:247:37: note: declared here
npm ERR! 247 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index,
npm ERR! | ^~~
npm ERR! ../src/utils.cpp: In function ‘v8::Localv8::Value javaToV8(Java*, JNIEnv*, jobject, DynamicProxyData*)’:
npm ERR! ../src/utils.cpp:721:34: warning: ignoring return value of ‘v8::Maybe v8::Object::Set(v8::Localv8::Context, v8::Localv8::Value, v8::Localv8::Value)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
npm ERR! 721 | v8ResultNumberObject->Set(Nan::GetCurrentContext(), Nan::Newv8::String("longValue").ToLocalChecked(), Nan::Newv8::String(strValue.c_str()).ToLocalChecked());
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! In file included from /home/mb/.cache/node-gyp/18.16.1/include/node/v8-array-buffer.h:13,
npm ERR! from /home/mb/.cache/node-gyp/18.16.1/include/node/v8.h:24,
npm ERR! from ../src/utils.h:6,
npm ERR! from ../src/utils.cpp:1:
npm ERR! /home/mb/.cache/node-gyp/18.16.1/include/node/v8-object.h:244:37: note: declared here
npm ERR! 244 | V8_WARN_UNUSED_RESULT Maybe Set(Local context,
npm ERR! | ^~~
npm ERR! /usr/bin/ld: não foi possível localizar -ljvm: Arquivo ou diretório inexistente
npm ERR! collect2: error: ld returned 1 exit status
npm ERR! make: *** [nodejavabridge_bindings.target.mk:155: Release/obj.target/nodejavabridge_bindings.node] Erro 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error:
make
failed with exit code: 2npm ERR! gyp ERR! stack at ChildProcess.onExit (/home/mb/Documentos/prometheus/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 6.2.0-33-generic
npm ERR! gyp ERR! command "/home/mb/.nvm/versions/node/v18.16.1/bin/node" "/home/mb/Documentos/prometheus/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/mb/Documentos/prometheus/node_modules/node-jasper/node_modules/java
npm ERR! gyp ERR! node -v v18.16.1
npm ERR! gyp ERR! node-gyp -v v9.4.0
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /home/mb/.npm/_logs/2023-09-21T23_17_25_541Z-debug-0.log
NODE = v18.16.1
NPM = 9.5.1
Python 3.10.12
Python 2.7.18 (default, Jul 1 2022, 10:30:50)
[GCC 11.2.0] on linux2
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
I NEED HELP
The text was updated successfully, but these errors were encountered: