node-gyp icon indicating copy to clipboard operation
node-gyp copied to clipboard

Issue running npm install on a ghost clone.

Open uvirk opened this issue 11 years ago • 5 comments

Problem with gyp when running npm install on ghost. Pasted below is my error straight from the command prompt. Any help would be appreciated.

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(643,5): error MSB6003: Th
specified task executable "link.exe" could not be run. Release\obj\validation\validation.tlog\link-cvtres.wr
e.[ID].tlog [C:\Users\Uday\Documents\GitHub\uvelop.io\node_modules\testem\node_modules\socket.io\node_module
socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.
xproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\li
uild.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp
" "rebuild"
gyp ERR! cwd C:\Users\Uday\Documents\GitHub\uvelop.io\node_modules\testem\node_modules\socket.io\node_module
ocket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok

uvirk avatar Jul 18 '15 23:07 uvirk

Fixed.

uvirk avatar Jul 24 '15 13:07 uvirk

Hi Uvirk, how did you fix it?

jimior2 avatar Oct 23 '15 07:10 jimior2

I'am interested by the solution too! Please, how did you resolve this problem?

damienleroux avatar Oct 27 '15 09:10 damienleroux

Ok I fixed this problem. When following node gyp installation process, I didn't release that Windows SDK 7.1 installation failed. So I removed Microsoft visual C++ 2010 Redistributable, re-install Windows SDK 7.1 and it resolved my problem.

damienleroux avatar Oct 27 '15 10:10 damienleroux

@damienleroux Thanks, i'll give it a try.

jimior2 avatar Oct 27 '15 15:10 jimior2