Open raymondtrueman opened 9 months ago
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 https://github.com/bafolts/tplant/issues/120, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUVDA34EDLYOQJN2LROL7LYDSF73AVCNFSM6AAAAAA7EEI44WVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DKMBWGAYTQNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
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 apt install default-jre
, then tried to install again and it worked. Thank you @bafolts!
Any idea what is causing this error during the installation?