帮助解决 Make 错误
当我运行 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。问题是什么?
When I run make I get an error:
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
I have installed gcc. What is the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Makefile 尝试运行命令
node cli.js cache clean
,但在 PATH 中找不到名为node
的程序。要解决此问题,请安装提供node
程序的任何包。您尝试编译的程序应该包含一个名为 README 或 INSTALL 的文件或类似的文件,告诉您编译它的依赖项。The Makefile is trying to run the command
node cli.js cache clean
, but can't find a program callednode
in your PATH. To fix this, install whatever package provides thenode
program. The program you're trying to compile should contain a file calledREADME
orINSTALL
or something like that that tells you what the dependencies are to compile it.