node.js - "make"命令: "recipe for target ' node' failed"安装node js报错

标签 node.js cordova makefile make-install

我正在尝试在我的 linux 上安装 node js。我正确安装了所有先决条件。 我运行 ./configure 正确。 问题出在“make”命令和“make install”命令中

make

make install

-

这是我在执行“make”命令后在终端中收到的内容:

/usr/bin/python tools/gyp_node.py -f make
make -C out BUILDTYPE=Release V=1
make[1]: Entering directory '/home/islamassi/programming files/phoneGap/node-     v0.10.30/node/out'
Makefile:271: *** mixed implicit and normal rules.  Stop.
make[1]: Leaving directory '/home/islamassi/programming files/phoneGap/node-   v0.10.30/node/out'
Makefile:45: recipe for target 'node' failed
make: *** [node] Error 2

-

在“make install”命令之后:

make -C out BUILDTYPE=Release V=1
make[1]: Entering directory '/home/islamassi/programming files/phoneGap/node-v0.10.30/node/out'
Makefile:271: *** mixed implicit and normal rules.  Stop.
make[1]: Leaving directory '/home/islamassi/programming files/phoneGap/node-   v0.10.30/node/out'
Makefile:45: recipe for target 'node' failed
make: *** [node] Error 2

最佳答案

我能够通过以下方式解决此错误:

./configure --without-snapshot

之前
make & make install

关于node.js - "make"命令: "recipe for target ' node' failed"安装node js报错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25207721/

相关文章:

node.js - 在heroku上部署 Node 应用程序引发与nodemon相关的错误

node.js - 在执行异步函数之前呈现的 Express JS 页面

node.js - 将格子与 Stripe 结合使用

android - 创建 cordova 项目时出现 gradle 错误

Android HTML5 地理定位不显示 GPS 图标

android - 什么是构建 Android 时的 export_includes 和 import_includes 文件

javascript - ( Node :6868) [DEP0062] DeprecationWarning: `node --inspect --debug-brk` is deprecated

javascript - 使用 PhoneGap/Cordova 时的数据管理/计算

linux - "Make install"与 "Make install clean"?

shell - 生成文件中的嵌套 For 循环