Skip to content
New issue

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

Error: installing gremlin with orientdb #60

Closed
ArkeologeN opened this issue Dec 7, 2013 · 5 comments
Closed

Error: installing gremlin with orientdb #60

ArkeologeN opened this issue Dec 7, 2013 · 5 comments

Comments

@ArkeologeN
Copy link

I configured out the OrientDB locally and now wanted to use it with Gremlin. Installing it via npm gives the following error:

0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', 'java', '--save' ] 2 info using [email protected] 3 info using [email protected] 4 verbose node symlink /usr/bin/node 5 warn package.json [email protected] No repository field. 6 verbose readDependencies using package.json deps 7 verbose cache add [ 'java', null ] 8 verbose cache add name=undefined spec="java" args=["java",null] 9 verbose parsed url { protocol: null, 9 verbose parsed url slashes: null, 9 verbose parsed url auth: null, 9 verbose parsed url host: null, 9 verbose parsed url port: null, 9 verbose parsed url hostname: null, 9 verbose parsed url hash: null, 9 verbose parsed url search: null, 9 verbose parsed url query: null, 9 verbose parsed url pathname: 'java', 9 verbose parsed url path: 'java', 9 verbose parsed url href: 'java' } 10 silly lockFile 23524be9-java java 11 verbose lock java /home/arkeologen/.npm/23524be9-java.lock 12 silly lockFile 23524be9-java java 13 silly lockFile 23524be9-java java 14 verbose addNamed [ 'java', '' ] 15 verbose addNamed [ null, '_' ] 16 silly lockFile 0f6a664b-java java@ 17 verbose lock java@ /home/arkeologen/.npm/0f6a664b-java.lock 18 silly addNameRange { name: 'java', range: '_', hasData: false } 19 verbose url raw java 20 verbose url resolving [ 'https://registry.npmjs.org/', './java' ] 21 verbose url resolved https://registry.npmjs.org/java 22 info trying registry request attempt 1 at 07:36:47 23 verbose etag "4UVDBWC5E497HYQRB7Q9MZ1LF" 24 http GET https://registry.npmjs.org/java 25 http 304 https://registry.npmjs.org/java 26 silly registry.get cb [ 304, 26 silly registry.get { server: 'CouchDB/1.3.1 (Erlang OTP/R15B03)', 26 silly registry.get etag: '"4UVDBWC5E497HYQRB7Q9MZ1LF"', 26 silly registry.get date: 'Sat, 07 Dec 2013 02:36:49 GMT', 26 silly registry.get 'content-length': '0' } ] 27 verbose etag java from cache 28 silly addNameRange number 2 { name: 'java', range: '_', hasData: true } 29 silly addNameRange versions [ 'java', 29 silly addNameRange [ '0.0.1', 29 silly addNameRange '0.0.2', 29 silly addNameRange '0.0.3', 29 silly addNameRange '0.0.4', 29 silly addNameRange '0.0.5', 29 silly addNameRange '0.0.6', 29 silly addNameRange '0.1.0', 29 silly addNameRange '0.1.1', 29 silly addNameRange '0.1.2', 29 silly addNameRange '0.1.3', 29 silly addNameRange '0.2.0', 29 silly addNameRange '0.2.1', 29 silly addNameRange '0.2.2', 29 silly addNameRange '0.2.3', 29 silly addNameRange '0.2.4', 29 silly addNameRange '0.2.5', 29 silly addNameRange '0.2.6', 29 silly addNameRange '0.2.7', 29 silly addNameRange '0.2.8', 29 silly addNameRange '0.2.9' ] ] 30 verbose addNamed [ 'java', '0.2.9' ] 31 verbose addNamed [ '0.2.9', '0.2.9' ] 32 silly lockFile 1e1dbba0-java-0-2-9 [email protected] 33 verbose lock [email protected] /home/arkeologen/.npm/1e1dbba0-java-0-2-9.lock 34 silly lockFile 1e1dbba0-java-0-2-9 [email protected] 35 silly lockFile 1e1dbba0-java-0-2-9 [email protected] 36 silly lockFile 0f6a664b-java java@ 37 silly lockFile 0f6a664b-java java@ 38 silly resolved [ { name: 'java', 38 silly resolved description: 'Bridge API to connect with existing Java APIs.', 38 silly resolved author: { name: 'Joe Ferner', email: '[email protected]' }, 38 silly resolved keywords: [ 'java', 'jvm', 'bridge' ], 38 silly resolved version: '0.2.9', 38 silly resolved engines: { node: '>=0.6.0' }, 38 silly resolved maintainers: [ [Object], [Object] ], 38 silly resolved bugs: { url: 'https://github.com/nearinfinity/node-java/issues' }, 38 silly resolved license: 'MIT', 38 silly resolved repository: 38 silly resolved { type: 'git', 38 silly resolved url: 'https://github.com/nearinfinity/node-java.git' }, 38 silly resolved dependencies: {}, 38 silly resolved devDependencies: { nodeunit: '~0.6.4', memwatch: '~0.2.0', async: '~0.1.22' }, 38 silly resolved scripts: { test: 'nodeunit test', install: 'node-gyp rebuild' }, 38 silly resolved main: './index.js', 38 silly resolved gypfile: true, 38 silly resolved readme: '# java\n\nBridge API to connect with existing Java APIs.\n\n[Google Groups Discussion Forum](https://groups.google.com/forum/#!forum/node-java)\n\n## Installation Linux/Windows\n\n`bash\n$ export JAVA_HOME=/usr/local/share/jdk1.6.0_30\n$ npm install java\n`\n\nNotes:\n_ node-gyp requires python 2.x not python 3.x. See https://github.com/TooTallNate/node-gyp/issues/155 for more details.\n\* If you see an error such as "No rule to make target \'/opt/jdk1.7.0_09/jre/lib/amd64/server/libjvm.so\', needed by \'build/depsVerified\'. Stop."\n this means that your JAVA_HOME is not set correctly and you need to verify the location of libjvm.so or jvm.lib.\n\* If you see an error such as "Error: The specified module could not be found. \n xxxxxx\node_modules\java\build\Release\nodejavabridge_bindings.node".\n Ensure the directory where jvm.dll exists is in your PATH. (e.g. C:\Program Files (x86)\Java\jdk1.6.0_18\jre\bin\client).\n This path cannot have quotes.\n\n\n## Installation Mac\n\n`bash\n$ npm install java\n`\n\n_Mavericks Users: If you are having problems finding \'jni.h\' please see [Issue #86](https://github.com/nearinfinity/node-java/issues/86)_\n\n## Installation ARM (Raspberry Pi)\n\n`bash\nGYP_DEFINES="armv7=0" CCFLAGS=\'-march=armv6\' CXXFLAGS=\'-march=armv6\' npm install java\n`\n\n## Manual compile (Using node-gyp)\n\n`bash\n./compile-java-code.sh\nnode-gyp configure build\nnpm test\n`\n\n_NOTE: You will need node-gyp installed using "npm install -g node-gyp"_\n\n## Quick Examples\n\n`javascript\nvar java = require("java");\njava.classpath.push("commons-lang3-3.1.jar");\njava.classpath.push("commons-io.jar");\n\nvar list = java.newInstanceSync("java.util.ArrayList");\n\njava.newInstance("java.util.ArrayList", function(err, list) {\n list.addSync("item1");\n list.addSync("item2");\n});\n\nvar ArrayList = java.import(\'java.util.ArrayList\');\nvar list = new ArrayList();\nlist.addSync(\'item1\');\n`\n\n### Create a char array\n\n`javascript\nvar charArray = java.newArray("char", "hello world\\n".split(\'\'));\n`\n\n### Create a byte array\n\n`javascript\nvar byteArray = java.newArray(\n "byte",\n "hello world\\n"\n .split(\'\')\n .map(function(c) { return java.newByte(str.charCodeAt(c)); });\n`\n\n### Using java.lang.Long and long\n\nJavaScript only supports 32-bit integers. Because of this java longs must be treated specially.\nWhen getting a long result the value may be truncated. If you need the original value there is\na property off of the result called "longValue" which contains the un-truncated value as a string.\nIf you are calling a method that takes a long you must create it using [java.newInstance](#javaNewInstance).\n\n`javascript\nvar javaLong = java.newInstanceSync("java.lang.Long", 5);\nconsole.log(\'Possibly truncated long value: \' + javaLong);\nconsole.log(\'Original long value (as a string): \' + javaLong.longValue);\njava.callStaticMethodSync("Test", "staticMethodThatTakesALong", javaLong);\n`\n\n### Exceptions\n\nExceptions from calling methods either caught using JavaScript try/catch block or passed\nto a callback as the first parameter may have a property named "cause" which has a reference\nto the Java Exception object which caused the error.\n\n`javascript\ntry {\n java.methodThatThrowsExceptionSync();\n} catch(ex) {\n console.log(ex.cause.getMessageSync());\n}\n`\n\n# Release Notes\n\n### v0.2.0\n\n\* java.lang.Long and long primitives are handled better. See\n \([Issue #37](https://github.com/nearinfinity/node-java/issues/37)\) and\n \([Issue #40](https://github.com/nearinfinity/node-java/issues/40)\).\n\n# Index\n\n## java\n \* [classpath](#javaClasspath)\n \* [options](#javaOptions)\n \* [import](#javaImport)\n \* [newInstance](#javaNewInstance)\n \* [instanceOf](#javaInstanceOf)\n \* [callStaticMethod](#javaCallStaticMethod)\n \* [getStaticFieldValue](#javaGetStaticFieldValue)\n \* [setStaticFieldValue](#javaSetStaticFieldValue)\n \* [newArray](#javaNewArray)\n \* [newByte](#javaNewByte)\n \* [newShort](#javaNewShort)\n \* [newLong](#javaNewLong)\n \* [newChar](#javaNewChar)\n \* [newDouble](#javaNewDouble)\n \* [newFloat](#javaNewFloat)\n \* [newProxy](#javaNewProxy)\n\n## java objects\n \* [Call Method](#javaObjectCallMethod)\n \* [Get/Set Field](#javaObjectGetSetField)\n\n# API Documentation\n\n\n## java\n\n\n**java.classpath**\n\nArray of paths or jars to pass to the creation of the JVM.\n\nAll items must be added to the classpath before calling any other node-java methods.\n\n__Example__\n\n java.classpath.push(\'commons.io.jar\');\n\n\n**java.options**\n\nArray of options to pass to the creation of the JVM.\n\nAll items must be added to the options before calling any other node-java methods.\n\n__Example__\n\n java.options.push(\'-Djava.awt.headless=true\');\n java.options.push(\'-Xmx1024m\');\n\n\n**java.import(className)**\n\nLoads the class given by className such that it acts and feels like a javascript object.\n\n__Arguments__\n\n \* className - The name of the class to create. For subclasses seperate using a \'$\' (eg. com.nearinfinty.MyClass$SubClass)\n\n__Example__\n\n var Test = java.import(\'Test\');\n Test.someStaticMethodSync(5);\n console.log(Test.someStaticField);\n\n var test = new Test();\n list.instanceMethodSync(\'item1\');\n\n\n**java.newInstance(className, [args...], callback)**\n\n**java.newInstanceSync(className, [args...]) : result**\n\nCreates an instance of the specified class. If you are using the sync method an exception will be throw if an error occures,\notherwise it will be the first argument in the callback.\n\n__Arguments__\n\n \* className - The name of the class to create. For subclasses seperate using a \'$\' (eg. com.nearinfinty.MyClass$SubClass)\n \* callback(err, item) - Callback to be called when the class is created.\n\n__Example__\n\n var list = java.newInstanceSync("java.util.ArrayList");\n\n java.newInstance("java.util.ArrayList", function(err, list) {\n if(err) { console.error(err); return; }\n // new list\n });\n\n\n**java.instanceOf(javaObject, className)**\n\nDetermines of a javaObject is an instance of a class.\n\n__Arguments__\n\n \* javaObject - Instance of a java object returned from a method or from newInstance.\n \* className - A string class name.\n\n__Example__\n\n var obj = java.newInstanceSync("my.package.SubClass");\n\n if(java.instanceOf(obj, "my.package.SuperClass")) {\n console.log("obj is an instance of SuperClass");\n }\n\n\n**java.callStaticMethod(className, methodName, [args...], callback)**\n\n**java.callStaticMethodSync(className, methodName, [args...]) : result**\n\nCalls a static method on the specified class. If you are using the sync method an exception will be throw if an error occures,\notherwise it will be the first argument in the callback.\n\n__Arguments__\n\n \* className - The name of the class to call the method on. For subclasses seperate using a \'$\' (eg. com.nearinfinty.MyClass$SubClass)\n \* methodName - The name of the method to call.\n \* callback(err, item) - Callback to be called when the class is created.\n\n__Example__\n\n var result = java.callStaticMethodSync("com.nearinfinty.MyClass", "doSomething", 42, "test");\n\n java.callStaticMethod("com.nearinfinty.MyClass", "doSomething", 42, "test", function(err, results) {\n if(err) { console.error(err); return; }\n // results from doSomething\n });\n\n\n**java.getStaticFieldValue(className, fieldName)**\n\nGets a static field value from the specified class.\n\n__Arguments__\n\n \* className - The name of the class to get the value from. For subclasses seperate using a \'$\' (eg. com.nearinfinty.MyClass$SubClass)\n \* fieldName - The name of the field to get the value from.\n\n__Example__\n\n var data = java.getStaticFieldValue("com.nearinfinty.MyClass", "data");\n\n\n**java.setStaticFieldValue(className, fieldName, newValue)**\n\nSets a static field value on the specified class.\n\n__Arguments__\n\n \* className - The name of the class to set the value on. For subclasses seperate using a \'$\' (eg. com.nearinfinty.MyClass$SubClass)\n \* fieldName - The name of the field to set the value on.\n \* newValue - The new value to assign to the field.\n\n__Example__\n\n java.getStaticFieldValue("com.nearinfinty.MyClass", "data", "Hello World");\n\n\n**java.newArray(className, values[])**\n\nCreates a new java array of type class.\n\n__Arguments__\n\n \* className - The name of the type of array elements. For subclasses seperate using a \'$\' (eg. com.nearinfinty.MyClass$SubClass)\n \* values - A javascript array of values to assign to the java array.\n\n__Example__\n\n var newArray = java.newArray("java.lang.String", ["item1", "item2", "item3"]);\n\n\n**java.newByte(val)**\n\nCreates a new java byte. This is needed because javascript does not have the concept of a byte.\n\n__Arguments__\n\n \* val - The value of the java byte.\n\n__Example__\n\n var b = java.newByte(12);\n\n\n**java.newShort(val)**\n\nCreates a new java short. This is needed because javascript does not have the concept of a short.\n\n__Arguments__\n\n \* val - The value of the java short.\n\n__Example__\n\n var s = java.newShort(12);\n\n\n**java.newLong(val)**\n\nCreates a new java long. This is needed because javascript does not have the concept of a long.\n\n__Arguments__\n\n \* val - The value of the java long.\n\n__Example__\n\n var s = java.newLong(12);\n\n\n**java.newChar(val)**\n\nCreates a new java char. This is needed because javascript does not have the concept of a char.\n\n__Arguments__\n\n \* val - The value of the java char.\n\n__Example__\n\n var ch = java.newChar(\'a\');\n\n\n**java.newDouble(val)**\n\nCreates a new java double. This is needed to force javascript\'s number to a double to call some methods.\n\n__Arguments__\n\n \* val - The value of the java double.\n\n__Example__\n\n var d = java.newDouble(3.14);\n\n\n**java.newFloat(val)**\n\nCreates a new java float. This is needed to force javascript\'s number to a float to call some methods.\n\n__Arguments__\n\n \* val - The value of the java float.\n\n__Example__\n\n var f = java.newFloat(3.14);\n\n\n**java.newProxy(interfaceName, functions)**\n\nCreates a new java Proxy for the given interface. Functions passed in will run on the v8 main thread and not a new thread.\n\nThe returned object has two methods ref() and unref() which you can use to maintain references to prevent premature\ngarbage collection. You must call these methods to ensure the proxy stays around.\n\n__Arguments__\n\n \* interfaceName - The name of the interface to proxy. For subclasses seperate using a \'$\' (eg. com.nearinfinty.MyClass$SubClass)\n \* functions - A hash of functions matching the function in the interface.\n\n__Example__\n\n var myProxy = java.newProxy(\'java.lang.Runnable\', {\n run: function () {\n // This is actually run on the v8 thread and not the new java thread\n console.log("hello from thread");\n }\n });\n\n var thread = java.newInstanceSync("java.lang.Thread", myProxy);\n thread.start();\n\n\n## java object\n\n\n**obj._methodName_([args...], callback)**\n\n**obj._methodNameSync_([args...]) : result**\n\nOnce you have a java object either by creating a new instance or as a result of a method call you can then call methods on that object.\nAll public, non-static methods are exposed in synchronous and asynchronous flavors.\n\n__Arguments__\n\n \* args - The arguments to pass to the method.\n \* callback(err, item) - Callback to be called when the method has completed.\n\n__Example__\n\n var list = java.newInstanceSync("java.util.ArrayList");\n list.addSync("item1");\n list.add("item2", function(err, result) {\n if(err) { console.error(err); return; }\n });\n\n\n**obj._fieldName_ = val**\n\n**val = obj._fieldName_**\n\nOnce you have a java object either by creating a new instance or as a result of a method call you can get instance\nfield values.\n\n__Example__\n\n var list = java.newInstanceSync("com.nearinfinty.MyClass");\n list.data = "test";\n var data = list.data;\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2012 Near Infinity Corporation\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n"Software"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n', 38 silly resolved readmeFilename: 'README.md', 38 silly resolved homepage: 'https://github.com/nearinfinity/node-java', 38 silly resolved _id: '[email protected]', 38 silly resolved _from: 'java@' } ] 39 info install [email protected] into /var/www/kuewDashDev 40 info installOne [email protected] 41 info /var/www/kuewDashDev/node_modules/java unbuild 42 verbose tar unpack /home/arkeologen/.npm/java/0.2.9/package.tgz 43 silly lockFile 6a72cbf9-ww-kuewDashDev-node-modules-java tar:///var/www/kuewDashDev/node_modules/java 44 verbose lock tar:///var/www/kuewDashDev/node_modules/java /home/arkeologen/.npm/6a72cbf9-ww-kuewDashDev-node-modules-java.lock 45 silly lockFile 052581eb-logen-npm-java-0-2-9-package-tgz tar:///home/arkeologen/.npm/java/0.2.9/package.tgz 46 verbose lock tar:///home/arkeologen/.npm/java/0.2.9/package.tgz /home/arkeologen/.npm/052581eb-logen-npm-java-0-2-9-package-tgz.lock 47 silly gunzTarPerm modes [ '755', '644' ] 48 silly gunzTarPerm extractEntry package.json 49 silly gunzTarPerm extractEntry .npmignore 50 silly gunzTarPerm extractEntry README.md 51 silly gunzTarPerm extractEntry LICENSE 52 silly gunzTarPerm extractEntry index.js 53 silly gunzTarPerm extractEntry mnm.js 54 silly gunzTarPerm extractEntry testHelpers.js 55 silly gunzTarPerm extractEntry touch.py 56 silly gunzTarPerm extractEntry jarjar.rule 57 silly gunzTarPerm extractEntry binding.gyp 58 silly gunzTarPerm extractEntry commons-lang3-node-java.jar 59 silly gunzTarPerm extractEntry compile-java-code.sh 60 silly gunzTarPerm extractEntry projectFilesBackup/.idea/libraries/sass_stdlib.xml 61 silly gunzTarPerm extractEntry projectFilesBackup1/.idea/libraries/sass_stdlib.xml 62 silly gunzTarPerm extractEntry src/methodCallBaton.cpp 63 silly gunzTarPerm extractEntry src/java.cpp 64 silly gunzTarPerm extractEntry src/javaObject.cpp 65 silly gunzTarPerm extractEntry src/javaObject.h 66 silly gunzTarPerm extractEntry src/javaScope.cpp 67 silly gunzTarPerm extractEntry src/javaScope.h 68 silly gunzTarPerm extractEntry src/java.h 69 silly gunzTarPerm extractEntry src/methodCallBaton.h 70 silly gunzTarPerm extractEntry src/nodeJavaBridge.cpp 71 silly gunzTarPerm extractEntry src/node_NodeDynamicProxyClass.h 72 silly gunzTarPerm extractEntry src/utils.cpp 73 silly gunzTarPerm extractEntry src/utils.h 74 silly gunzTarPerm extractEntry src-java/node/NodeDynamicProxyClass.class 75 silly gunzTarPerm extractEntry src-java/node/NodeDynamicProxyClass.java 76 silly gunzTarPerm extractEntry test/utils-types-test.js 77 silly gunzTarPerm extractEntry test/simple-test.js 78 silly gunzTarPerm extractEntry test/javaObject-test.js 79 silly gunzTarPerm extractEntry test/java-staticField-test.js 80 silly gunzTarPerm extractEntry test/java-newInstance-test.js 81 silly gunzTarPerm extractEntry test/java-callStaticMethod-test.js 82 silly gunzTarPerm extractEntry test/instanceof-test.js 83 silly gunzTarPerm extractEntry test/importClass-test.js 84 silly gunzTarPerm extractEntry test/dynamicProxy-test.js 85 silly gunzTarPerm extractEntry test/awt-test.js 86 silly gunzTarPerm extractEntry test/Test$SuperClass.class 87 silly gunzTarPerm extractEntry test/TestExceptions.java 88 silly gunzTarPerm extractEntry test/commons-lang3-3.1.jar 89 silly gunzTarPerm extractEntry test/TestExceptions.class 90 silly gunzTarPerm extractEntry test/Test.java 91 silly gunzTarPerm extractEntry test/Test.class 92 silly gunzTarPerm extractEntry test/RunInterface$Interface1Arg.class 93 silly gunzTarPerm extractEntry test/Test$SubClass.class 94 silly gunzTarPerm extractEntry test/RunInterface.java 95 silly gunzTarPerm extractEntry test/RunInterface.class 96 silly gunzTarPerm extractEntry test/nodejs.png 97 silly gunzTarPerm extractEntry test/RunInterface$InterfaceWithReturn.class 98 silly gunzTarPerm extractEntry test/RunInterface$Interface0Arg.class 99 silly gunzTarPerm extractEntry examples/lucene/example.js 100 silly gunzTarPerm extractEntry examples/lucene/lucene-core-3.5.0.jar 101 silly gunzTarPerm extractEntry examples/mixJavaAndNode/runMyClass.js 102 silly gunzTarPerm extractEntry examples/mixJavaAndNode/src/com/nearinfinity/nodeJava/MyClass.class 103 silly gunzTarPerm extractEntry examples/mixJavaAndNode/src/com/nearinfinity/nodeJava/MyClass.java 104 silly gunzTarPerm extractEntry lib/nodeJavaBridge.js 105 silly lockFile 6a72cbf9-ww-kuewDashDev-node-modules-java tar:///var/www/kuewDashDev/node_modules/java 106 silly lockFile 6a72cbf9-ww-kuewDashDev-node-modules-java tar:///var/www/kuewDashDev/node_modules/java 107 silly lockFile 052581eb-logen-npm-java-0-2-9-package-tgz tar:///home/arkeologen/.npm/java/0.2.9/package.tgz 108 silly lockFile 052581eb-logen-npm-java-0-2-9-package-tgz tar:///home/arkeologen/.npm/java/0.2.9/package.tgz 109 info preinstall [email protected] 110 verbose readDependencies using package.json deps 111 verbose readDependencies using package.json deps 112 silly resolved [] 113 verbose about to build /var/www/kuewDashDev/node_modules/java 114 info build /var/www/kuewDashDev/node_modules/java 115 verbose linkStuff [ false, false, false, '/var/www/kuewDashDev/node_modules' ] 116 info linkStuff [email protected] 117 verbose linkBins [email protected] 118 verbose linkMans [email protected] 119 verbose rebuildBundles [email protected] 120 info install [email protected] 121 verbose unsafe-perm in lifecycle false 122 info [email protected] Failed to exec install script 123 info /var/www/kuewDashDev/node_modules/java unbuild 124 info preuninstall [email protected] 125 info uninstall [email protected] 126 verbose true,/var/www/kuewDashDev/node_modules,/var/www/kuewDashDev/node_modules unbuild [email protected] 127 info postuninstall [email protected] 128 error [email protected] install: `node-gyp rebuild` 128 error Exit status 1 129 error Failed at the [email protected] install script. 129 error This is most likely a problem with the java package, 129 error not with npm itself. 129 error Tell the author that this fails on your system: 129 error node-gyp rebuild 129 error You can get their info via: 129 error npm owner ls java 129 error There is likely additional logging output above. 130 error System Linux 3.8.0-29-generic 131 error command "/usr/bin/node" "/usr/bin/npm" "install" "java" "--save" 132 error cwd /var/www/kuewDashDev 133 error node -v v0.10.22 134 error npm -v 1.3.14 135 error code ELIFECYCLE 136 verbose exit [ 1, true ]
@inolen
Copy link
Owner

inolen commented Dec 7, 2013

It looks like NPM is saying node-java failed to install.

For whatever reason, with node-java it's often best to make sure you have JAVA_HOME set properly before running the install.

@ArkeologeN
Copy link
Author

Hi,

My JAVA_HOME path is all perfect may be:

arkeologen@ubuntu:/var/www/$ echo $JAVA_HOME /usr/lib/jvm/java-7-oracle

Sounds meaningfull?

@inolen
Copy link
Owner

inolen commented Dec 7, 2013

I have no idea. I'd focus on trying to get node-java to install correctly, and if you keep having issues, post up an issue over there.

@jbmusso
Copy link

jbmusso commented Dec 21, 2013

@ArkeologeN, you may also have an issue with node-gyp (https://github.com/TooTallNate/node-gyp). Which version of Node.js are you using?

You may also have some luck checking past issues on the node-java lib (https://github.com/joeferner/node-java/issues).

@ArkeologeN
Copy link
Author

I was using node 0.10.x. Well, in the end I cloned the node-java and compiled by updating .gyp file. After that, I compiled gremlin-node to get it working. Thanks man!

@inolen inolen closed this as completed Dec 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants