-
Notifications
You must be signed in to change notification settings - Fork 35
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 on install "command sh -c node scripts/get-vizjs.js" #120
Comments
Probably need java installed
…On Thu, Nov 9, 2023, 1:12 AM Raymond Trueman ***@***.***> wrote:
Any idea what is causing this error during the installation?
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/tplant/node_modules/node-plantuml
npm ERR! command failed
npm ERR! command sh -c node scripts/get-vizjs.js
npm ERR! node:events:491
npm ERR! throw er; // Unhandled 'error' event
npm ERR! ^
npm ERR!
npm ERR! Error: spawn java ENOENT
npm ERR! at ChildProcess._handle.onexit (node:internal/child_process:283:19)
npm ERR! at onErrorNT (node:internal/child_process:476:16)
npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
npm ERR! Emitted 'error' event on ChildProcess instance at:
npm ERR! at ChildProcess._handle.onexit (node:internal/child_process:289:12)
npm ERR! at onErrorNT (node:internal/child_process:476:16)
npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
npm ERR! errno: -2,
npm ERR! code: 'ENOENT',
npm ERR! syscall: 'spawn java',
npm ERR! path: 'java',
npm ERR! spawnargs: [
npm ERR! '-Dplantuml.include.path=/usr/local/lib/node_modules/tplant/node_modules/node-plantuml',
npm ERR! '-Djava.awt.headless=true',
npm ERR! '-jar',
npm ERR! '/usr/local/lib/node_modules/tplant/node_modules/node-plantuml/vendor/plantuml.jar',
npm ERR! '-testdot'
npm ERR! ]
npm ERR! }
—
Reply to this email directly, view it on GitHub
<#120>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAUVDA34EDLYOQJN2LROL7LYDSF73AVCNFSM6AAAAAA7EEI44WVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DKMBWGAYTQNI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I ran into the same problem, ran |
Any idea what is causing this error during the installation?
The text was updated successfully, but these errors were encountered: