Vue项目启动报错:Cannot find module 'array-includes'解决方法报错原因:
项目最外层的文件目录名发生更改,可能会导致这个错误产生

解决办法:

  1. 删掉项目中的node_modules文件夹
  2. 执行 npm cache clean 或者 cnpm cache clean 命令清除掉cache缓存
  3. 然后cnpm install
  4. npm run dev就可以在这台电脑运行你的项目

相关文章: