Closed
Issue #107 · created by Harshad RJ ·


`npm install javapoly` fails

npm install javapoly fails for me with this error:

> javapoly@0.0.20160507094946 postinstall /home/ubuntu/tmp/jpolyTest/node_modules/javapoly
> node node_modules/jvminstall

module.js:341
    throw err;
    ^

Error: Cannot find module '/home/ubuntu/tmp/jpolyTest/node_modules/javapoly/node_modules/jvminstall'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:141:18)
    at node.js:933:3
npm WARN xyz@0.0.1 No repository field.
npm WARN xyz@0.0.1 No license field.
npm ERR! Linux 3.13.0-79-generic
npm ERR! argv "/home/ubuntu/dopp/node-v5.7.1-linux-x64/bin/node" "/home/ubuntu/dopp/node-v5.7.1-linux-x64/bin/npm" "install" "javapoly"
npm ERR! node v5.7.1
npm ERR! npm  v3.8.0
npm ERR! code ELIFECYCLE

npm ERR! javapoly@0.0.20160507094946 postinstall: `node node_modules/jvminstall`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the javapoly@0.0.20160507094946 postinstall script 'node node_modules/jvminstall'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the javapoly package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node node_modules/jvminstall
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs javapoly
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls javapoly
npm ERR! There is likely additional logging output above.

Looks like the jvminstall package is not available in path when postinstall script of Javapoly is executed.


3 participants
jimsproch/JavaPoly#107

Assignee: none

Milestone: none


Votes
0 up
0 down

Labels