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

Fail to install in proxy environment #28

Open
devmiyax opened this issue Apr 4, 2019 · 2 comments
Open

Fail to install in proxy environment #28

devmiyax opened this issue Apr 4, 2019 · 2 comments

Comments

@devmiyax
Copy link

devmiyax commented Apr 4, 2019

Under windows fail to install, if you are in proxy environment.

c:\> npm install node-plantuml

> [email protected] postinstall XXXXXXXXXXXXXXXXXXXXX
> node scripts/get-vizjs.js

events.js:170
      throw er; // Unhandled 'error' event
      ^

Error: spawn java ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:247:19)
    at onErrorNT (internal/child_process.js:431:16)
    at processTicksAndRejections (internal/process/task_queues.js:81:17)
    at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:56:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:871:11)
    at internal/main/run_main_module.js:21:11
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:253:12)
    at onErrorNT (internal/child_process.js:431:16)
    [... lines matching original stack trace ...]
    at internal/main/run_main_module.js:21:11
@nmarijane
Copy link

Can you please just check if you have jre/jdk installed on ?

@markushedvall
Copy link
Owner

This error indicate that java is not available, or maybe need to be added to PATH?

During install java is needed to run testdot in Plantuml to check the ghraphviz installation. Maybe a pure js version of testdot could be implemented instead. However, without java the package wouldn't be usable anyway.

@Behike Behike mentioned this issue Apr 30, 2021
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