gpt4 book ai didi

homebrew - 如何使用 Homebrew 软件在 MACOS 中安装 node.js

转载 作者:行者123 更新时间:2023-12-04 12:13:22 25 4
gpt4 key购买 nike

如果我写,
brew 安装节点

==> 正在搜索类似命名的公式...
错误:未找到类似命名的公式。
错误:没有名称为“节点”的可用公式或木桶。
它从 homebrew/cask 迁移到 homebrew/core。
如果我写,
brew doctor

Warning: Suspicious https://github.com/Homebrew/homebrew-core git origin remote found.
The current git origin is:
https://github.com/Homebrew/brew

With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin https://github.com/Homebrew/homebrew-core

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7-config
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7m-config
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3-config
帮帮我....我想使用 Homebrew 软件下载节点,我想解决所有警告.........

最佳答案

只需按照说明操作即可。
根据 brew doctor ,你必须运行这个命令。

git -C $(brew --repo homebrew/core) checkout master
我只是有同样的问题。一旦退房到 master ,安装运行正确。

关于homebrew - 如何使用 Homebrew 软件在 MACOS 中安装 node.js,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65840838/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com