D:\Work\Project\NodeJS\testnide\node_modules>npm install zmq npm http GET https://registry.npmjs.org/zmq npm http 304 https://registry.npmjs.org/zmq
zmq@2.4.0 install D:\Work\Project\NodeJS\testnide\node_modules\zmq node-gyp rebuild
D:\Work\Project\NodeJS\testnide\node_modules\zmq>node "D:\ProgramFiles\node\node
js\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.j
s" rebuild
在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。
binding.cc
..\binding.cc(24): fatal error C1083: 无法打开包括文件:“v8.h”: No such file or
director
y [D:\Work\Project\NodeJS\testnide\node_modules\zmq\build\zmq.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (D:\ProgramFiles\node\nodejs\node_modu
les\npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:757:
12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "D:\ProgramFiles\node\nodejs\node_modules\npm\node
_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Work\Project\NodeJS\testnide\node_modules\zmq
gyp ERR! node -v v0.10.2
gyp ERR! node-gyp -v v0.9.3
gyp ERR! not ok
npm ERR! zmq@2.4.0 install: node-gyp rebuild
npm ERR! cmd "/c" "node-gyp rebuild" failed with 1
npm ERR!
npm ERR! Failed at the zmq@2.4.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 "D:\ProgramFiles\node\nodejs\\node.exe" "D:\ProgramFiles
\node\nodejs\node_modules\npm\bin\npm-cli.js" "install" "zmq"
npm ERR! cwd D:\Work\Project\NodeJS\testnide\node_modules
npm ERR! node -v v0.10.2
npm ERR! npm -v 1.2.15
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! D:\Work\Project\NodeJS\testnide\node_modules\npm-debug.log
npm ERR! not ok code 0