Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Graphviz, gvpr is not recognized

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

like image 919
Amir-Mousavi Avatar asked Oct 06 '16 01:10

Amir-Mousavi


2 Answers

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.

enter image description here

like image 183
Charles Avatar answered Sep 24 '22 17:09

Charles


try to use madge command by windows command propmt (not git bash or something like that) it's worked for me

like image 35
1SaeedSalehi Avatar answered Sep 22 '22 17:09

1SaeedSalehi