mamuz / PhpDependencyAnalysis

Static code analysis to find violations in a dependency graph
http://mamuz.github.io/PhpDependencyAnalysis/
MIT License
561 stars 45 forks source link

Unable to invoke "dot" to create image file #24

Closed IgorN closed 8 years ago

IgorN commented 8 years ago

root@homestead:~/Projects# phpda analyze proff.yml PhpDependencyAnalysis by Marco Muths (v1.2.0)

I catched next trouble when I try to run this tools on my homestead machine.

Configuration read from /home/vagrant/Projects/proff.yml

32/32 [============================] 100% 1 sec/1 sec Memory: 14.0 MiB

Write dependency graph to /home/vagrant/Projects/graf.svg sh: 1: dot: not found

[Fhaculty\Graph\Exception\UnexpectedValueException]
Unable to invoke "dot" to create image file (code 127)

analyze [-m|--mode [MODE]] [-s|--source [SOURCE]] [-p|--filePattern [FILEPATTERN]] [-i|--ignore [IGNORE]] [-f|--formatter [FORMATTER]] [-t|--target [TARGET]] [--] []

mamuz commented 8 years ago

Hi @IgorN,

sounds like a GraphViz Issue.

Did you install it or tried to reinstall it?