You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make: Entering directory /home/victor/node_modules/java/build' ACTION Verify Deps build/depsVerified CXX(target) Release/obj.target/nodejavabridge_bindings/src/java.o ../src/java.cpp: In function ‘_jobject* Java_node_NodeDynamicProxyClass_callJs(JNIEnv*, _jobject*, jlong, _jobject*, _jobjectArray*)’: ../src/java.cpp:731: error: invalid conversion from ‘void (*)(uv_work_t*)’ to ‘void (*)(uv_work_t*, int)’ ../src/java.cpp:731: error: initializing argument 4 of ‘int uv_queue_work(uv_loop_t*, uv_work_t*, void (*)(uv_work_t*), void (*)(uv_work_t*, int))’ make: *** [Release/obj.target/nodejavabridge_bindings/src/java.o] Error 1 make: Leaving directory/home/victor/node_modules/java/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:256:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:754:12)
gyp ERR! System Linux 2.6.32-279.22.1.el6.x86_64
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/victor/node_modules/java
gyp ERR! node -v v0.10.0
gyp ERR! node-gyp -v v0.8.5
gyp ERR! not ok
npm ERR! java@0.2.1 install: node-gyp rebuild
npm ERR! sh "-c" "node-gyp rebuild" failed with 1
npm ERR!
npm ERR! Failed at the java@0.2.1 install script.
npm ERR! This is most likely a problem with the java package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls java
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.32-279.22.1.el6.x86_64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "java"
npm ERR! cwd /home/victor
npm ERR! node -v v0.10.0
npm ERR! npm -v 1.2.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/victor/npm-debug.log
npm ERR! not ok code 0
The text was updated successfully, but these errors were encountered:
Try to use node v0.8.22 <- the previous version of node, and switch via using nvm etc. until java-node module will be fixed for this incompatibility issue to the new version of node.
I'm trying to install node-java using npm but it is failing to compile (output is below).
I have managed to find out this much: libuv's uv_after_work_cb has gained an addition int argument (see joyent/libuv@92fb84b).
Unfortunately I know nothing about libuv and very little about node.js, but I would love to use your library.
Any chance this is a quick fix?
Thanks
This is the output of 'npm instal java':
make: Entering directory
/home/victor/node_modules/java/build' ACTION Verify Deps build/depsVerified CXX(target) Release/obj.target/nodejavabridge_bindings/src/java.o ../src/java.cpp: In function ‘_jobject* Java_node_NodeDynamicProxyClass_callJs(JNIEnv*, _jobject*, jlong, _jobject*, _jobjectArray*)’: ../src/java.cpp:731: error: invalid conversion from ‘void (*)(uv_work_t*)’ to ‘void (*)(uv_work_t*, int)’ ../src/java.cpp:731: error: initializing argument 4 of ‘int uv_queue_work(uv_loop_t*, uv_work_t*, void (*)(uv_work_t*), void (*)(uv_work_t*, int))’ make: *** [Release/obj.target/nodejavabridge_bindings/src/java.o] Error 1 make: Leaving directory
/home/victor/node_modules/java/build'gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:256:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:754:12)
gyp ERR! System Linux 2.6.32-279.22.1.el6.x86_64
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/victor/node_modules/java
gyp ERR! node -v v0.10.0
gyp ERR! node-gyp -v v0.8.5
gyp ERR! not ok
npm ERR! java@0.2.1 install:
node-gyp rebuild
npm ERR!
sh "-c" "node-gyp rebuild"
failed with 1npm ERR!
npm ERR! Failed at the java@0.2.1 install script.
npm ERR! This is most likely a problem with the java package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls java
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.32-279.22.1.el6.x86_64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "java"
npm ERR! cwd /home/victor
npm ERR! node -v v0.10.0
npm ERR! npm -v 1.2.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/victor/npm-debug.log
npm ERR! not ok code 0
The text was updated successfully, but these errors were encountered: