【问题标题】:Homebrew install issue自制软件安装问题
【发布时间】:2017-06-12 18:28:21
【问题描述】:

我已经安装了xcode

xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

在这之后我做了 brew update

brew update
Already up-to-date.

然后brew医生给出以下错误

brew doctor
Please note that these warnings are just used to help the Homebrew maintainers 
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: No developer tools installed.
Install the Command Line Tools:
  xcode-select --install

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/llnode.rb
undefined method `>=' for nil:NilClass
Error: Cannot tap homebrew/core: invalid syntax in tap!
Error: Failure while executing: /usr/local/bin/brew tap homebrew/core -q

我已经重新安装了自制软件,但没有帮助。

粘贴我的 brew 配置

brew config
HOMEBREW_VERSION: 1.2.2
ORIGIN: https://github.com/Homebrew/brew
HEAD: 54e01d76db34a3a649c79b189873bfd0a52dbc9f
Last commit: 8 days ago
Core tap: N/A
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.0.0-p648
Clang: N/A
Git: 2.11.0 => /Library/Developer/CommandLineTools/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_131
macOS: 10.12.4-x86_64
Xcode: N/A
CLT: N/A
X11: N/A

【问题讨论】:

    标签: xcode installation homebrew


    【解决方案1】:

    问题是由于错误的 xcode 安装造成的。 我再次重新安装了 xcode 和 homebrew,它工作正常。 不知道为什么使用时没有出现xcode错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-05-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-08-17
      • 1970-01-01
      相关资源
      最近更新 更多