项目之前没有问题,不知怎么回事运行时就突然报错,
百度上的方法是将node_modules这个文件夹删除,再重新安装就好了
解决方案: 1、先删除node_modules 2、在当前项目文件下npm install 运行成功