在Windows 7 64位上为node.js安装PhantomJS网桥时如何解决错误?
当我尝试在我的Windows 8 64位安装phantom
时出现以下错误。
$ npm install phantom
E:\ pay \ node_modules \ phantom \ node_modules \ dnode \ node_modules \ weak> node“C:\ Program Files \ nodejs \ node_modules \ npm \ bin \ node-gyp-bin \\ .. \ .. \ node_modules \ node- gyp \ bin \ node-gyp.js“重build gyp ERR! configuration错误 gyp ERR! 堆栈错误:产卵ENOENT gyp ERR! 栈errnoException(child_process.js:1001:11) gyp ERR! 在Process.ChildProcess._handle.onexit(child_process.js:792:34) gyp ERR! 系统Windows_NT 6.1.7601 gyp ERR! 命令“node”“C:\ Program Files \\ nodejs \\ node_modules \\ npm \\ node_modules \\ node-gyp \\ bin \\ node-gyp.js”“rebuild” gyp ERR! cwd E:\ l7pay \ node_modules \ phantom \ node_modules \ dnode \ node_modules \ weak gyp ERR! node -v v0.10.33 gyp ERR! node-gyp -v v1.0.1 gyp ERR! 不好 npm WARN可选dep失败,继续weak@0.3.3 phantom@0.7.0 node_modules \ phantom ├──win-spawn@2.0.0 ├──traverse@0.6.6 ├──dnode@1.2.0(jsonify@0.0.0,dnode-protocol@0.2.2) └──shoe@0.0.15(sockjs@0.3.7)