【问题标题】:The location of the plugin file obtained by vscode is inconsistent with the file location of the plugin file obtained by gitbash. How to uninstall?vscode获取的插件文件的位置与gitbash获取的插件文件的文件位置不一致。如何卸载?
【发布时间】:2026-02-12 14:00:01
【问题描述】:

比如我这里安装了vuecli,我从vscode终端得到的vue版本安装在C:\Users\username\AppData\Roaming\npm\node_modules@vue\cli,我打开得到的vue版本通过 gitbash 安装在我的d盘自定义目录下(环境变量配置的地方)。

我将vscode终端中的插件安装到我D盘的自定义目录下,但是我使用的是安装在c盘的插件。应该如何卸载c盘位置的安装。 (直接卸载会卸载我的d盘安装,c盘安装无法更新,删除对应文件会报错)

【问题讨论】:

    标签: visual-studio-code git-bash vue-cli-4


    【解决方案1】:

    我尝试使用 npm uninstall ./ 文件位置成功。终于解决了,原来的方法就是这么简单

    【讨论】: