我正在嘗試更新node.js以支架角項目。無法更新node.js
但是,當我推出這個命令:
npm update -g
我得到這個:
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "update" "-g"
npm ERR! node v5.2.0
npm ERR! npm v3.3.12
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/vs-tac
npm ERR! 404
npm ERR! 404 'vs-tac' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Development\workspaceWeb\redPlus\npm-debug.log
我決定,因爲我打電話
yo angular --minsafe
時讓其他錯誤更新NPM
所以我分解了涉及的程序。
如何解決?
看起來好像你有一個packege,它不再存在於npm上。你能添加運行'npm ls -g --depth = 0'的結果的pastebin /小提琴嗎? – MoLow
http://pastebin.com/5aXRfxZ0 – eeadev
所以看起來這裏的答案是正確的。這是一個未發佈的軟件包 – MoLow