每次我尝试卸载、更改或重新安装Nodejs应用程序时,过程都会以错误2330结束。
当我试图安装一个新的npm包时,问题就开始了,但这个错误出现在bash:中
npm install Cannot find module '../lib/utils/unsupported.js'
我试着重新安装Nodejs,但没有成功。我甚至无法删除Nodejs目录中的npm_modules文件夹。
我在Windows 10上通过下载此Microsoft疑难解答解决了此问题。:-(
无法卸载、更改或重新安装程序与注册表有关。
https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d