【已解决】vue-cil3 运行报错:x errors potentially fixable with the `--fix` option

背景:

3 errors found.
3 errors potentially fixable with the `--fix` option.

解决办法:
找到package.json文件
然后将下面lint部分修改为:

 eslint --fix --ext .js,.vue src

在这里插入图片描述
修改后依旧没解决:

先查看Esint是否关闭,如果关闭的话,修改上面也是会跑不起来的
在这里插入图片描述
最终解决办法:

如果还没有解决的话,那就别安装Eslint,或者已经安装了取消不使用它了

(我最后是使用了这个办法,然后跑起来了)
在这里插入图片描述

学如逆水行舟,不进则退
发布了366 篇原创文章 · 获赞 540 · 访问量 7万+

猜你喜欢

转载自blog.csdn.net/weixin_42429718/article/details/104002110