【问题标题】:Installing Shell Commands in Atom on macOS returns error and fails在 macOS 上的 Atom 中安装 Shell 命令返回错误并失败
【发布时间】:2020-02-16 07:29:58
【问题描述】:

我想在 Atom 中的 MacBook Air 2017(macOS:10.15.3)上安装 shell 命令。它询问我的 root 密码,然后在 Atom 中返回一个错误:

Failed to install shell commands
mkdir failed with exit status 1

如何解决这个问题并安装 shell 命令? 当我在终端中尝试which atom 时,它返回atom not found

【问题讨论】:

  • mkdir will fail if the directory already exists 你确定你创建的目录是否已经存在?你在跑什么

标签: macos shell terminal atom-editor


【解决方案1】:

您能提供更多信息吗?你用过什么命令(mkdir)?该目录是否已经存在?你安装 atom 命令了吗?

This 可能会帮助你

【讨论】:

  • 我不知道为什么它之前似乎不起作用,但是我这次通过命令面板再次尝试,它说它们已经安装了。现在使用“哪个原子”命令给出了正确的响应。谢谢。
猜你喜欢
  • 2017-04-18
  • 2021-10-25
  • 1970-01-01
  • 1970-01-01
  • 2021-12-05
  • 2017-04-19
  • 2021-01-20
  • 2020-03-31
  • 2021-05-04
相关资源
最近更新 更多