Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js Npm安装zmq windows7_Node.js_Windows_Msbuild_Npm_Zeromq - Fatal编程技术网

Node.js Npm安装zmq windows7

Node.js Npm安装zmq windows7,node.js,windows,msbuild,npm,zeromq,Node.js,Windows,Msbuild,Npm,Zeromq,我正在尝试使用npm在windows 7上安装zmq,但由于以下错误而失败: >C:\Windows\system32\node_modules\zmq>node "C:\Program Files\nodejs\node_modules\ npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild /MSBUILD : error MSB1009: 프로젝트 파일이 없습니다. 스

我正在尝试使用npm在windows 7上安装zmq,但由于以下错误而失败:

>C:\Windows\system32\node_modules\zmq>node "C:\Program Files\nodejs\node_modules\  
npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild  
/MSBUILD : error MSB1009: 프로젝트 파일이 없습니다.  
스위치: build/binding.sln  
gyp ERR! build error  
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` fail  
ed with exit code: 1  
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\  
npm\node_modules\node-gyp\lib\build.js:267:23)  
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)  
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809: 12)  
gyp ERR! System Windows_NT 6.1.7601  
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modu  
les\\node-gyp\\bin\\node-gyp.js" "rebuild"  
gyp ERR! cwd C:\Windows\system32\node_modules\zmq  
gyp ERR! node -v v0.10.29  
gyp ERR! node-gyp -v v0.13.1  
gyp ERR! not ok  
npm ERR! zmq@2.7.0 install: `node-gyp rebuild`  
npm ERR! Exit status 1  
npm ERR!  
npm ERR! Failed at the zmq@2.7.0 install script.  
npm ERR! This is most likely a problem with the zmq package,  
npm ERR! not with npm itself.  
npm ERR! Tell the author that this fails on your system:  
npm ERR!     node-gyp rebuild  
npm ERR! You can get their info via:  
npm ERR!     npm owner ls zmq  
npm ERR! There is likely additional logging output above.  
npm ERR! System Windows_NT 6.1.7601  
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod  
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "zmq"  
npm ERR! cwd C:\Windows\system32  
npm ERR! node -v v0.10.29  
npm ERR! npm -v 1.4.14  
npm ERR! code ELIFECYCLE  
npm ERR!  
npm ERR! Additional logging details can be found in:  
npm ERR!     C:\Windows\system32\npm-debug.log  
npm ERR! not ok code 0  
我看到了很多关于它的帖子,但没有一个能为我提供解决方案。 我安装了VisualStudioExpress并设置了PYTHONPATH环境变量(我还尝试设置PYTHON变量,但不起作用),如下所述

我在这里真的很累,谢谢你的帮助,谢谢你

编辑:当我在控制台中手动运行node gyp rebuild时,我得到以下信息:

gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (C:\Users\Bureau1\AppData\Roaming\npm\node_modules\node-gyp\lib\configure.js:305:16)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Bureau1\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Bureau1\Desktop\app
gyp ERR! node -v v5.1.0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok

安装了哪个版本的Visual Studio?Visual Studio 2010 expressI正在尝试将其删除并安装2013,正如这里所说的,可能是的副本