Reputation: 4561
I am trying to use MaDGe to Save dependency graph as a SVG image with CLI command
madge --image graph.svg path/src/app.js
but I face the error 'gvpr' is not recognized as an internal or external command
this is where I have C:\Program Files (x86)\Graphviz2.38\bin
in my PATH.
I also tried adding the PATH in both user and system variables but still the same issue
Upvotes: 8
Views: 2948
Reputation: 455
in windows the executable file is called "dot.exe", I had the same issue as you and fixed it by copying & renaming "dot.exe" to "gvpr.exe" in the /bin/folder
works fine now for me.
Upvotes: 3
Reputation: 373
try to use madge command by windows command propmt (not git bash or something like that) it's worked for me
Upvotes: 1