[英]I can't uninstall vue from ubuntu
Hello i'm working on WSL and to run my vue project i need vue 2.9.0 and vue -V
shows vue 2.9.6 I'v tried comand npm uninstall @vue/cli
and npm uninstall -g @vue/cli
but vue -V
still shows vue 2.9.6 Please help您好,我正在开发 WSL 并运行我的 vue 项目,我需要 vue 2.9.0 和vue -V
显示 vue 2.9.6 我试过命令npm uninstall @vue/cli
和npm uninstall -g @vue/cli
但vue -V
仍然显示 vue 2.9.6 请帮忙
Did you try to clear the cache?您是否尝试清除缓存?
The following should work:以下应该有效:
npm uninstall -g @vue/cli
npm clear cache --force
If you are using the older version of vue cli (1.x or 2.x) like you are, then you can uninstall it like this.如果您像您一样使用旧版本的 vue cli(1.x 或 2.x),那么您可以像这样卸载它。
npm uninstall -g vue-cli
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.