-
Notifications
You must be signed in to change notification settings - Fork 39
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 when running in node #19
Comments
Check if graphviz folder is set on your PATH variable. If not, you should add folder of gvpr.exe (usually %Graphviz_folder%/bin) to the PATH variable. |
Dear Joao,Thank you for your help . After adding the bin to the path I get a done message in most cases but no one is created the only image created when my dir path points to the examples dir in your node module. I am trying to model angular 2 projects some times I get a can not read property forEa CV h of undefined. I never get a PNG. I guess this has some thing to do with dependency scrolling. Sent from Yahoo Mail on Android On יום ד׳, אוג׳ 24, 2016 at 19:41, João [email protected] wrote: — |
Dear Joao, TypeError: Cannot read property 'forEach' of undefined D:\tsviz>tsviz D:\angular2-tour-of-heroes\app\ tour_of_heros.png D:\tsviz> Ariel Wassertheil
Check if graphviz folder is set on your PATH variable. If not, you should add folder of gvpr.exe (usually %Graphviz_folder%/bin) to the PATH variable.— |
Can you try with the latest tsviz version? I tried running against that example (from here: https://github.com/johnpapa/angular2-tour-of-heroes) and it generates the diagram. |
When I got this error it seemed that my installation path of Graphviz was wrong, fixed it with |
I installed graphviz 2.38 and added to path get this error message
D:\tsviz>tsviz app.component.ts v.png
events.js:160
throw er; // Unhandled 'error' event
^
Error: write EPIPE
at exports._errnoException (util.js:953:11)
at Socket._writeGeneric (net.js:705:26)
at Socket._write (net.js:724:8)
at doWrite (_stream_writable.js:307:12)
at writeOrBuffer (_stream_writable.js:293:5)
at Socket.Writable.write (_stream_writable.js:220:11)
at Socket.write (net.js:650:40)
at Graph.render (C:\Users\Administrator\AppData\Roaming\npm\node_modules\tsv
iz\node_modules\graphviz\lib\deps\graph.js:380:18)
at Graph.output (C:\Users\Administrator\AppData\Roaming\npm\node_modules\tsv
iz\node_modules\graphviz\lib\deps\graph.js:385:8)
at Object.buildUml (C:\Users\Administrator\AppData\Roaming\npm\node_modules
tsviz\bin\uml-builder.js:30:7)
D:\tsviz>
The text was updated successfully, but these errors were encountered: