Vue项目启动出现Error:Cannot find module 'array-includes'解决方法

不知道为什么 当重新打开之前项目的时候 就会出现以下报错!
Vue项目启动出现Error:Cannot find module 'array-includes'解决方法
解决办法:
1删掉项目中的node_modules文件夹
2.重新启动npm startt就可以

或者

  1. 删掉项目中的node_modules文件夹,

2 .执行 npm cache clean 或者 cnpm cache clean 命令清除掉cache缓存,

3.然后cnpm install 和npm run dev就可以在这台电脑运行你的项目