[英]Unable to install node-expat in Linux
I am trying to install dependencies of a Node project in my CI server that runs on RHEL. 我正在尝试在RHEL上运行的CI服务器中安装Node项目的依赖项。 When I run npm install, I get the following error
当我运行npm install时,出现以下错误
> node-expat@2.3.16 install
/var/lib/jenkins/jobs/tryout/workspace/myproject/node_modules/node-expat
> node-gyp rebuild
make ✖ ERR Missing Makefile / Bakefile
make ℹ info Run "make init" to generate a Makefile.
Node v7.10.0 节点v7.10.0
NPM v5.4.2 NPM v5.4.2
node-expat v2.3.16 节点扩展v2.3.16
重新安装NodeJS 8.0版为我解决了这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.