1、错误描述

Error: Cannot find module ‘commander‘

2、错误原因

查看vue-cli版本的提示,找不到模块commander

3、解决办法

办法1:重新安装commander, npm install commander --save 

重点提示:不要再node安装的目录去装,否在不起作用;

办法2:全局安装vue-cli,

提示:但是我试了没啥用

 

参考:https://blog.csdn.net/you23hai45/article/details/80951981

相关文章:

  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2021-08-04
  • 2021-09-13
  • 2021-10-17
  • 2021-11-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-01
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案