-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: can't find d2 executable #146
Comments
same here. |
Does it work if you set the d2 path in the settings to (as in the example above): "/Users/julien.cayzac/.go/bin/d2". The logic is pretty simple, it takes that string from the settings and tries to execute it. |
Yes this is working. I wounder why d2 is not found on the system path. |
I think we should use D2 WEB API calls by default instead of having to install d2 locally!
|
My impression is this does not work because (sigh) the VSCode Extension search for D2 binary in the working directory, not in the actual path or system PATH. |
d2
to live in the system path, not the user path.GOPATH
either.D2.execPath
setting so passing$GOPATH/bin/d2
there doesn't work either.I have
d2
in my user path, but I cannot use this extension.The text was updated successfully, but these errors were encountered: