报错原因 内存溢出,就是装的插件太多了,内存不够用了。 解决方案 找到文件 node_modules ----> bin ----> webpack-dev-server.cmd 手动设置一下内存 --max-old-space-size=4096 问题解决