xmppo/node-expat

Unable to install node-expat in Linux

bharat-srinivasan opened this issue · 3 comments

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

> 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
NPM v5.4.2
node-expat v2.3.16

same issue ,try to find solution for now.

it works for my case:

sudo npm install -g node-gyp
cd myproject
npm install

so what's the solution? @OwenZh
You could fix it?
I guess this should be solved by deploying via docker since node-gyp depends on OS environment heavily.

If you deploy it to other platforms like Lambda, you will see this issue again.