繁体   English   中英

使用 Homebrew 安装节点 10 时出错

[英]Error while installing node 10 using Homebrew

我正在尝试使用以下 Homebrew 命令在 Macbook Pro(m1 芯片)上安装节点版本 10。

brew install node@10

但是出现以下错误:

Error: node@10: no bottle available!
You can try to install from source with:
brew install --build-from-source node@10
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.

谁能帮助我使用 Homebrew 安装节点 10。 提前致谢。

Brew 尚未提供 Node 10 的 ARM 版本

您是否尝试过从源代码安装? brew install --build-from-source node@10

您可以通过创建使用 Rosetta 仿真层的终端来运行 X86 命令行程序,但我尚未对此进行测试。

  • 在 Utilities 文件夹中找到终端应用程序(Finder > Go 菜单 > Utilities)
  • Select Terminal.app 并右键单击它,然后选择“复制”
  • 将重复的终端应用程序重命名为明显且独特的名称,例如“Rosetta Terminal”
  • 现在 select 新重命名的“Rosetta Terminal”应用程序并右键单击并选择“获取信息”(或按 Command+i)
  • 勾选“Open using Rosetta”,然后关闭 Get Info window
  • 像往常一样运行“Rosetta Terminal”,它将完全支持 Homebrew 和其他 x86 命令行应用程序

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM