2013-07-10 38 views
1
> node-gyp rebuild 


d:\csfv\csfv_cms_module\node_modules\jsdom\node_modules\contextify>node "c:\Prog 
ram Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\nod 
e-gyp\bin\node-gyp.js" rebuild 
npm http 304 https://registry.npmjs.org/domutils 
npm http 304 https://registry.npmjs.org/domhandler 
npm http 304 https://registry.npmjs.org/json-stringify-safe 
npm http 304 https://registry.npmjs.org/domelementtype 
npm http 304 https://registry.npmjs.org/readable-stream 
gyp ERR! configure error 
gyp ERR! stack Error: spawn ENOENT 
gyp ERR! stack  at errnoException (child_process.js:980:11) 
gyp ERR! stack  at Process.ChildProcess._handle.onexit (child_process.js:771: 
34) 
gyp ERR! System Windows_NT 6.2.9200 
gyp ERR! command "node" "c:\\Program Files (x86)\\nodejs\\node_modules\\npm\\nod 
e_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" 
gyp ERR! cwd d:\csfv\csfv_cms_module\node_modules\jsdom\node_modules\contextify 
gyp ERR! node -v v0.10.12 
gyp ERR! node-gyp -v v0.10.0 
gyp ERR! not ok 

我的操作系統是Windows 8.1預覽, 的Python 2.7, VC++ 2010, 和C++的環境varaible已經添加,還是不行,謝謝使用NPM何時下載jsdom得到錯誤

回答

1

您:

windows 8.1 preview, 
vc++2010, 

節點GYP文檔:

Windows 7/8: 
Microsoft Visual Studio C++ 2012 for Windows Desktop (Express version works well) 
+0

在我的電腦,無論是VC++ 2012和vC++ 2010已安裝!...我不知道爲什麼會出現此問題.. –