运行npm run build时遇见这个问题,解决办法是安装: npm install --save-dev babel-preset-env 就解决了 转载于:https://www.cnblogs.com/wanghui-garcia/p/10106893.html