Amir-Mousavi
Amir-Mousavi

Reputation: 4561

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

Upvotes: 8

Views: 2948

Answers (2)

Charles
Charles

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.

enter image description here

Upvotes: 3

1SaeedSalehi
1SaeedSalehi

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

Related Questions