Giter Site home page Giter Site logo

Error when running in node about tsviz HOT 5 OPEN

joaompneves avatar joaompneves commented on August 20, 2024
Error when running in node

from tsviz.

Comments (5)

joaompneves avatar joaompneves commented on August 20, 2024

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.

from tsviz.

havascolino avatar havascolino commented on August 20, 2024

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.
Ariel

Sent from Yahoo Mail on Android

On יום ד׳, אוג׳ 24, 2016 at 19:41, João [email protected] wrote:
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.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from tsviz.

havascolino avatar havascolino commented on August 20, 2024

Dear Joao,
Here is the error message
D:\tsviz>tsviz app\  app.png
'app' does not exist
C:\Users\Administrator\AppData\Roaming\npm\node_modules\tsviz\bin\uml-builder.js
:18
    modules.forEach(function (module) {
           ^

TypeError: Cannot read property 'forEach' of undefined
    at Object.buildUml (C:\Users\Administrator\AppData\Roaming\npm\node_modules
tsviz\bin\uml-builder.js:18:12)
    at Object.createGraph (C:\Users\Administrator\AppData\Roaming\npm\node_modul
es\tsviz\bin\tsviz.js:36:16)
    at main (C:\Users\Administrator\AppData\Roaming\npm\node_modules\tsviz\bin\t
sviz-app.js:16:11)
    at Object.run (C:\Users\Administrator\AppData\Roaming\npm\node_modules\tsviz
\bin\tsviz-app.js:20:5)
    at Object. (C:\Users\Administrator\AppData\Roaming\npm\node_modul
es\tsviz\bin\tsviz-main.js:4:5)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)

D:\tsviz>tsviz D:\angular2-tour-of-heroes\app\  tour_of_heros.png
done

D:\tsviz>

 Ariel Wassertheil

On Wednesday, August 24, 2016 7:41 PM, João Neves <[email protected]> wrote:

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.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from tsviz.

joaompneves avatar joaompneves commented on August 20, 2024

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.

from tsviz.

Exclaminator avatar Exclaminator commented on August 20, 2024

When I got this error it seemed that my installation path of Graphviz was wrong, fixed it with
ln -s /usr/bin/dot /usr/local/bin/dot

from tsviz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.