Visual Studio CodeのPlantUMLでDot Executableがでたとき
🗓️ 2021-05-31
  
    📑
    
      Post 
    
  
    
    
    プレビューしたときに以下のようなエラーがでる
Dot Executable: \opt\local\bin\dot
File does not exist
Cannot find Graphviz
HomebrewでGraphvizをインストールしたのでパスが違う。
settings.jsonを開きローカルパスを追記する。バージョンの場所は自分の環境に変更してください。
{
    "plantuml.commandArgs": [
        "-DGRAPHVIZ_DOT=/usr/local/Cellar/graphviz/2.47.2/bin/dot",
    ]
}
参考: https://github.com/qjebbs/vscode-plantuml/issues/94
    🏷️
    
      #any
    
  
    
      
    
  