Atom 不会从命令行启动

Atom won't start from the command line

我将 OSX 更新为 High Sierra,我的 Atom 从命令行停止工作。

$ atom . FSPathMakeRef(/Applications/Atom.app) failed with error -36.

我卸载了 Atom 并重新安装了 Atom 和 运行 "Install Shell Commands"。 :/

有什么建议吗?

运行 Atom 通过单击“应用程序”文件夹中的图标。一旦 Atom 运行ning 进入 Atom 菜单并单击 "Install Shell Commands"。下次你想要 运行 atom 时,在终端命令行中输入 atom。如果这不起作用,请尝试将以下语句放入您的 .bash_profile

alias atom="Applications/Atom.app/Contents/MacOs/Atom"