MacOS上的流星“无法用uname -p拱起?”

时间:2019-09-24 21:45:04

标签: javascript node.js meteor

在Mac OS上安装Meteor.js之后,我尝试创建一个应用程序,但收到与'uname -p'相关的错误。该应用程序已创建,但是尝试启动该应用程序时出现相同的错误。

娱乐步骤

curl https://install.meteor.com/ | sh

meteor create app

输出:

/Users/{user}/.meteor/packages/meteor-tool/.1.8.1.4gwv5w.33478++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:218
      throw error;
      ^

Error: can't get arch with uname -p?
    at run (/tools/utils/archinfo.js:151:15)
    at Object.host (/tools/utils/archinfo.js:161:11)
    at ProjectContext.reset (/tools/project-context.js:94:45)
    at new ProjectContext (/tools/project-context.js:60:8)
    at Command.func (/tools/cli/commands.js:769:24)
    at /tools/cli/main.js:1531:15

然后:

cd app

echo "METEOR@1.8.1" >> .meteor/release

meteor

输出:

/Users/{user}/.meteor/packages/meteor-tool/.1.8.1.4gwv5w.33478++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:218
      throw error;
      ^

Error: can't get arch with uname -p?
    at run (/tools/utils/archinfo.js:151:15)
    at Object.host (/tools/utils/archinfo.js:161:11)
    at ProjectContext.reset (/tools/project-context.js:94:45)
    at new ProjectContext (/tools/project-context.js:60:8)
    at Command.doRunCommand [as func] (/tools/cli/commands.js:337:24)
    at /tools/cli/main.js:1531:15

我从uname -p的输出是i386

任何帮助将不胜感激。

0 个答案:

没有答案