no such file or directory, open '/tmp/web/Server/node_modules/jdbc/node_modules/java/build/jvm_dll_p

110 views
Skip to first unread message

רועי גולדנברג

unread,
Sep 14, 2016, 11:49:59 AM9/14/16
to node-java
Hi,
I'm trying to install npm install ja...@0.6.1 but fail due to:
> ja...@0.6.1 postinstall /tmp/web/Server/node_modules/java
> node postInstall.js

fs.js:584
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open '/tmp/web/Server/node_modules/java/build/jvm_dll_path.json'
    at Error (native)
    at Object.fs.openSync (fs.js:584:18)
    at Object.fs.writeFileSync (fs.js:1224:33)
    at /tmp/web/Server/node_modules/java/postInstall.js:22:8
    at /tmp/web/Server/node_modules/find-java-home/index.js:158:31
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
    at Function.Module.runMain (module.js:449:11)
    at startup (node.js:146:18)
    at node.js:404:3
- gl...@7.0.3 node_modules/java/node_modules/glob
- n...@2.3.2 node_modules/java/node_modules/nan

Not sure that it's relevant but I'm running behind a proxy on a linux machine.

Any idea why ?

Thank you,
Royi

Joe Ferner

unread,
Oct 11, 2016, 7:52:49 PM10/11/16
to node-java
Can you go into the node-java directory and run "npm install"
Reply all
Reply to author
Forward
0 new messages