I am trying to install dependencies of a Node project in my CI server that runs on RHEL. When I run npm install, I get the following error
我试图在我的在RHEL上运行的CI服务器中安装Node项目的依赖项。当我运行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
node-expat v2.3.16
1 个解决方案
#1
0
Reinstalling NodeJS version 8.0 solved the problem for me.
重新安装NodeJS 8.0版为我解决了这个问题。
#1
0
Reinstalling NodeJS version 8.0 solved the problem for me.
重新安装NodeJS 8.0版为我解决了这个问题。