Tuesday 28 August 2018

gyp ERR! stack Error: `gyp` failed with exit code: 1

I'm trying to compile node project using jenkins, which hosted on windows machine.When I run npm install command, i'm getting following errors. What does it mean and how to overcome it ?​gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stackat ChildProcess.onCpExit (C:\Program Files (x86)\Jenkins\tools\jenkins.plugins.nodejs.tools.NodeJSInstallation\NodeJS\node_modules\npm\node_modules\node-gyp\lib\configure.js:345:16) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:239:12) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\\Program Files (x86)\\Jenkins\\tools\\jenkins.plugins.nodejs.tools.NodeJSInstallation\\NodeJS\\node.exe" "C:\\Program Files (x86)\\Jenkins\\tools\\jenkins.plugins.nodejs.tools.NodeJSInstallation\\NodeJS\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"HOWEVER when I run npm audit fix --forceI'm not getting that error. Downside is I don't want to update my dependencies cause the project is build specifically for them​EDIT 01: Complete ERROR log​https://ift.tt/2MZHTuA

Submitted August 29, 2018 at 05:59AM by YouWillNeverSeeMe

No comments:

Post a Comment