当我运行 make 时出现错误:
root@vagrantup:~/npm-1285112852/scripts# ./install.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 568k 100 568k 0 0 267k 0 0:00:02 0:00:02 --:--:-- 466k
node cli.js cache clean
make: node: Command not found
make: *** [uninstall] Error 127
我已经安装了 gcc。有什么问题?
最佳答案
node cli.js cache clean make: node: Command not found
Makefile 正在尝试运行命令 node cli.js cache clean
,但在您的 PATH 中找不到名为 node
的程序。要解决此问题,请安装任何提供 node
程序的软件包。您尝试编译的程序应该包含一个名为 README
或 INSTALL
的文件或类似的文件,告诉您编译它的依赖项是什么。
关于linux - 帮助 Make error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3765334/