Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install node-expat in Linux #181

Open
bharat-srinivasan opened this issue Oct 5, 2017 · 3 comments
Open

Unable to install node-expat in Linux #181

bharat-srinivasan opened this issue Oct 5, 2017 · 3 comments

Comments

@bharat-srinivasan
Copy link

bharat-srinivasan commented Oct 5, 2017

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

> [email protected] 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

@owen-rpx
Copy link

same issue ,try to find solution for now.

@owen-rpx
Copy link

it works for my case:

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

@harleyguru
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants