运行yarn dev报错

1,230 阅读1分钟

在做vue3轮子项目时,运行yarn dev报错,报错内容如下:


解决方法:从stackoverflow上搜到的答案,如下

Delete your package-lock.json file and node_modules folder. Then do npm cache clean
npm cache clean --force
do npm install
again and run

最后能够成功运行