Open gothvf opened 2 years ago
If you're using an M1 Mac, you need to add the path '/opt/homebrew/bin/dot' to the PossibleGraphVizPaths array in AzViz/src/private/Get-DOTExecutable.ps1
'/opt/homebrew/bin' is the directory where Homebrew stores packages on M1 Macs.
$PossibleGraphVizPaths = @(
'C:\Program Files\NuGet\Packages\Graphviz*\dot.exe',
'C:\program files*\GraphViz*\bin\dot.exe',
'/usr/local/bin/dot',
'/usr/bin/dot',
'/opt/homebrew/bin/dot'
)
Thanks a lot! That was exactly my problem!
I can't figure out this one:
Export-AzViz: 'GraphViz' is not installed on this system and is a prerequisites for this module to work. Please download and install from here: https://graphviz.org/download/ and re-run this command.
Thanks!