Skip to content
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

我安装了 Draw.io,报错说找不到 PATH #4

Open
yibie opened this issue May 8, 2024 · 6 comments
Open

我安装了 Draw.io,报错说找不到 PATH #4

yibie opened this issue May 8, 2024 · 6 comments

Comments

@yibie
Copy link

yibie commented May 8, 2024

运行环境:macOS
版本:emacs 29.3
插件版本:main

@kimim
Copy link
Owner

kimim commented May 18, 2024

You may need to add draw.io to your PATH:

export PATH=/opt/homebrew/Caskroom/drawio/24.2.5/draw.io.app/Contents/MacOS:$PATH

remember to add /Contents/MacOS after draw.io.app, because we are using the draw.io executable.

@kimim kimim closed this as completed May 18, 2024
@kimim kimim reopened this May 18, 2024
@kimim
Copy link
Owner

kimim commented May 18, 2024

可否帮忙测试下,是否正常工作了?
不好意思,最近都没发现github上已经有不少issue了。

@yibie
Copy link
Author

yibie commented May 18, 2024

不行,还是 Cannot find the draw.io executable on the PATH.

你安装 Draw.io 是通过什么方式安装?我用 brew install

@kimim
Copy link
Owner

kimim commented May 18, 2024

也是 brew install --cask drawio
你先检查安装的路径是不是 /opt/homebrew/Caskroom/drawio/24.2.5/draw.io.app/Contents/MacOS
然后:

export PATH=/opt/homebrew/Caskroom/drawio/24.2.5/draw.io.app/Contents/MacOS:$PATH
emacs

@yibie
Copy link
Author

yibie commented May 23, 2024

不行。不过,在命令行里显示了一个问题:
dbus[61206]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
2024-05-24 03:39:25.833 Emacs[61206:2799138] TSM AdjustCapsLockLEDForKeyTransitionHandling - _ISSetPhysicalKeyboardCapsLockLED Inhibit

@kimim
Copy link
Owner

kimim commented May 23, 2024

不知道了。
我的是 emacs-mac

brew tap railwaycat/emacsmacport
brew install emacs-mac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants