gpt4 book ai didi

macos - Mac OS X 上的 Meteor 安装问题

转载 作者:行者123 更新时间:2023-12-02 21:39:00 25 4
gpt4 key购买 nike

我尝试使用“curl https://install.meteor.com |/bin/sh”安装Meteor JS,我的系统说Meteor仅支持64位处理器并停止安装。

Only 64-bit intel processors are supported at this time

据我所知,我的系统是 64 位(Mac OS X 10.9.1 Darwin 13.0.0),并且过去曾有 Meteor 完美运行。

任何建议都会有帮助。

最佳答案

我在“Darwin Kernel Version 13.4.0”上遇到了同样的问题,我查看了他们的安装代码(截至 2015 年 4 月 1 日星期三)。问题是,至少在我的情况下,他们假设 sysctl 位于您的路径中,但事实并非如此。

 if [ "i386" != "$(uname -p)" -o "1" != "$(sysctl -n hw.cpu64bit_capable 2>/dev/null || echo 0)" ] ; then

解决办法很简单

PATH=/usr/sbin:$PATH && curl https://install.meteor.com/ | sh

希望有帮助。

编辑

您还需要将/usr/sbin/sysctl 添加到您的路径PATH=/usr/sbin:$PATH,否则在运行以下命令时可能会遇到相同的问题 p>

meteor 

关于macos - Mac OS X 上的 Meteor 安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20767813/

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