如何從 Windows 中完全刪除 node.js - How to completely remove node.js from Windows

問題:

I uninstalled my previous version of node.js (0.8.11) and downloaded the latest, 0.10.24 from the node.js website and installed it.我卸載了以前版本的 node.js (0.8.11) 並從 node.js 網站下載了最新的 0.10.24 並安裝了它。 However, after running node --version , it still indicates that I'm running v0.8.11.但是,運行node --version ,它仍然表明我正在運行 v0.8.11。 Obviously, some stuff was left behind during the uninstall process, and it's causing me to have all sorts of errors when trying to add modules through npm.顯然,在卸載過程中留下了一些東西,這導致我在嘗試通過 npm 添加模塊時出現各種錯誤。 I've seen solutions to this for OSX and Linux, but couldn't find anything for Windows.我已經看到了針對 OSX 和 Linux 的解決方案,但在 Windows 上找不到任何解決方案。 I'm running Windows 7 64-bit.我正在運行 Windows 7 64 位。


解決方案:

參考一: https://en.stackoom.com/question/1OtwG
參考二: https://stackoom.com/question/1OtwG
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章