【问题标题】:"Error: not found: make" installing Meteorite on OS X“错误:未找到:make”在 OS X 上安装 Meteorite
【发布时间】:2017-01-14 08:09:38
【问题描述】:

我正在尝试在 OS X 10.8.4 上安装陨石。当我运行这个

sudo -H npm install -g 陨石

我明白了

ws@0.4.27 安装 /usr/local/share/npm/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws (node-gyp 重建 2> builderror.log) || (0号出口)

查看我看到的 builderror.log

gyp http GET http://nodejs.org/dist/v0.10.15/node-v0.10.15.tar.gz 石膏 http 200 http://nodejs.org/dist/v0.10.15/node-v0.10.15.tar.gz 吉普错误!构建错误 吉普错误!堆栈错误:未找到:make 吉普错误!堆栈在 F (/usr/local/Cellar/node/0.10.10/lib/node_modules/npm/node_modules/which/which.js:43:28) 吉普错误!堆栈在 E (/usr/local/Cellar/node/0.10.10/lib/node_modules/npm/node_modules/which/which.js:46:29) 吉普错误!堆栈在 /usr/local/Cellar/node/0.10.10/lib/node_modules/npm/node_modules/which/which.js:57:16 吉普错误!堆栈在 Object.oncomplete (fs.js:107:15) 吉普错误!系统达尔文 12.4.0 吉普错误!命令“节点”“/usr/local/Cellar/node/0.10.10/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js”“重建” 吉普错误! cwd /usr/local/share/npm/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws 吉普错误!节点-v v0.10.15 吉普错误!节点gyp -v v0.10.6 吉普错误!不行

可能是什么问题?

【问题讨论】:

  • 你安装了make吗?

标签: meteorite


【解决方案1】:

您是否安装了本机构建工具?如果没有,请安装它们。这可以很容易地使用 Xcode 完成。在 Xcode“下载”首选项窗口中。

这似乎是您在另一个包上的确切问题:https://github.com/JustinTulloss/zeromq.node/issues/142

【讨论】:

  • 我一发布问题就意识到这是问题所在。但是,安装命令行工具后,我现在得到了这个 https://registry.npmjs.org/stack-trace CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/bufferutil .node SOLINK_MODULE(target) Release/bufferutil.node: 完成 CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/validation.node SOLINK_MODULE(target) Release/validation.node: 完成/usr/local/share/npm/bin/mrt -> /usr/local/share/npm/lib/node_modules/meteorite/bin/mrt.js
  • 如果 'npm cache clean' 没有帮助,我建议发布一个新问题!
  • 显然,该输出实际上并不表示错误并且是正常的。我认为它不起作用,因为“mrt”没有被识别,但那是因为 /usr/local/share/npm/bin 不在 PATH 上。
【解决方案2】:

假设“安装命令行工具”是答案,在 Xcode 5.1.1 中,xcode-select --install 尚不可用。以下是您在 Xcode 5.1.1 中的操作方式(也适用于旧版本)

  • 应用程序
  • Xcode(从您的应用启动 IDE)
  • Xcode 首选项菜单(左上角,Apple 徽标旁边)
  • “下载”选项卡
  • 组件:命令行工具
  • 安装(下载箭头)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-12-29
    • 1970-01-01
    • 1970-01-01
    • 2014-09-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多