Not working
smkamranqadri opened this issue · 7 comments
Please tell me the following information
- Platform (linux?)
- vscode-erd version.
- settings.json (copy and paste)
If the erd-go path settings are correct, an error message will be displayed on the preview screen.
Platform (linux - pop os)
vscode-erd 1.32.3.
settings.json
{
"erd-preview.dotPath": "/home/mkamran/Applications/graphviz-dot/graphviz-dot-linux-x64",
"erd-preview.erdPath": "/home/mkamran/Applications/erd-go/linux_amd64_erd-go"
}
Please check permission of linux_amd64_erd-go
and graphviz-dot-linux-x64
command.
ls -l /home/mkamran/Applications/erd-go/linux_amd64_erd-go
ls -l /home/mkamran/Applications/graphviz-dot/graphviz-dot-linux-x64
Please add if executable permission isn't attached to the command.
chmod +x /home/mkamran/Applications/erd-go/linux_amd64_erd-go
chmod +x /home/mkamran/Applications/graphviz-dot/graphviz-dot-linux-x64
It is unkind to not get an error message.
I will create an issue as the other case.
Yes, I made them executable.
Exactly the same problem here.
Installed ERD-GO with homebrew on a mac.
It seems that you have to have GrpahViz installed also, simply installing the dot binary as outlined in the readme isn't enough.
I installed graphviz (ubuntu) using sudo apt install graphviz
and the extension started working.