调试报错如下: 原因:在windows系统中,不支持shell脚本语句导致 解决: 将./node_modules/.bin/webpack 更改为 ./node_modules/webpack/bin/webpack 参考资料