我安装了 Draw.io,报错说找不到 PATH
运行环境:macOS 版本:emacs 29.3 插件版本:main
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.
可否帮忙测试下,是否正常工作了? 不好意思,最近都没发现github上已经有不少issue了。
不行,还是 Cannot find the draw.io executable on the PATH.
你安装 Draw.io 是通过什么方式安装?我用 brew install
也是 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
不行。不过,在命令行里显示了一个问题: 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
不知道了。 我的是 emacs-mac
brew tap railwaycat/emacsmacport
brew install emacs-mac