gpt4 book ai didi

node.js - 使用 Homebrew 程序时无法更新 Node

转载 作者:太空宇宙 更新时间:2023-11-03 22:29:41 24 4
gpt4 key购买 nike

当我使用“brew升级 Node ”时

brew upgrade node Warning: You are using a pre-release version of Xcode. You may encounter build failures or other breakages. Please create pull-requests instead of filing issues. Error: node not installed

但是当我使用“brew info node”时

Please note by default only English locale support is provided. If you need full locale support you should either rebuild with full icu:
brew reinstall node --with-full-icu or add full icu data at runtime following:
https://github.com/nodejs/node/wiki/Intl#using-and-customizing-the-small-icu-build

最佳答案

您拥有一个功能齐全的node版本。

亲自尝试一下,看看会得到什么。我期望类似的东西:

> which node
/usr/local/bin/node
> node -v
v6.7.0

第一个错误是有趣的一点。看起来您使用的是发布之前的 xcode 8.0,也许它确实导致了升级 Node 的问题。我认为随着 xcode 的公开发布,这不再是问题。

brew info node 警告只是让您知道您有一个 node 的工作版本,但只有英文版。

关于node.js - 使用 Homebrew 程序时无法更新 Node ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39240019/

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