Closed CjHare closed 3 years ago
Experimented with the script version in PR, still no success.
This might be promises and timings related 🤔
PlantUML does generate anything. Tried with different project (windranger-treasury), even with the sample with stdin, suspect the culprit may be the Node version
~#@❯ node --version
v17.0.1
One line stdin example from https://www.npmjs.com/package/node-plantuml
~#@❯ npx puml generate --unicode --text "A -> B: Hello"
Nothing is rendered.
In the script , when debugging with log lines, has data feeding into the out pipe (i.e. input content is correct), but nothing get written. 🤔
Found the problem!
The PlantUML npm package is wrapping the PlantUML jar, meaning java
needs to be accessible on the system.
After install Java the script worked (generating the images)
Great. Closing this because I believe main now includes the java requirement in the readme.
Bug Description
Plant UML script is failing when run on my MacOS dev machine.
Steps to Reproduce
After a fresh install:
Results in script failure, with the image files all empty (zero bytes in size)
Current Behaviour