node-gyp: Error: `gyp` failed with exit code: 1, lwip@0.0.8 install: `node-gyp rebuild`

Whenever I try to run npm install it always throws this error.

image

What is the issue? Im trying to configure and rebuild it, it throws the error like this

image

Someone help me to resolve this.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19 (7 by maintainers)

Most upvoted comments

@ptgiang56 For the time being, I downgraded to node 10.16.3, which resolved my issue.

This solved the issue for me too!

nvm install 10.16.3 npm i node-gyp --save

@ptgiang56 For the time being, I downgraded to node 10.16.3, which resolved my issue.

OMG! but for a client project, we are supposed to work on that version. lwip is also showing the same error, that also doesn’t support for this version right?

If it’s a similar SyntaxError then yes it would appear so.

@pcjmfranken It was closed because the issue reported was SyntaxErrors due to an out-of-date version of Node.js being used. Subsequent comments have described different problems, which should have been opened as separate issues as they were not the SyntaxErrors that were reported originally. If you’re seeing a problem on current LTS it is almost certainly not the originally reported problem here and you should open a new issue describing the error you are seeing and including the full output of whatever command you are running.