-1
當我嘗試安裝節點檢查器時,會發生一些問題。但它也創建了一個名爲node-inspector的文件。當我嘗試使用節點檢查器時,它顯示「在端口5858上偵聽調試器」,並且沒有顯示「suceess!」就像第三張照片一樣!我不知道如何處理這個問題! 下面是資料:當我在win7中安裝節點檢查器時出現問題
> [email protected] install C:\Users\DELL\AppData\Roaming\npm\node_modules\node-inspector\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
npm ERR! [email protected] install: `(node-gyp rebuild 2> builderror.log) || (exit 0)`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the ws package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! (node-gyp rebuild 2> builderror.log) || (exit 0)
npm ERR! You can get their info via:
npm ERR! npm owner ls ws
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "node-inspector" "-g"
npm ERR! cwd C:\Program Files\nodejs
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! syscall spawn
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! not ok code 0
C:\Program Files\nodejs>^A
C:\Program Files\nodejs>cd\
C:\>node --debug-brk=5858 getmodule.js
debugger listening on port 5858
我安裝了Microsoft Visual Studio C++ 2012,但它仍然沒有工作,它顯示了和以前一樣的錯誤。 – webdxq 2014-10-21 10:31:50