webpack 打包启动服务 出现这个问题

2017-02-24 10:37:54 +08:00
 xoxoxo

cjs require ../node_modules/lodash/lodash.js [3] ./~/html-webpack-plugin/lib/loader.js!./src/index.html 1:8-51 [1] (webpack)/buildin/global.js 509 bytes {0} [depth 2] [built] cjs require global [0] ./~/lodash/lodash.js 1:0-41 [2] (webpack)/buildin/module.js 517 bytes {0} [depth 2] [built] cjs require module [0] ./~/lodash/lodash.js 1:0-41 [3] ./~/html-webpack-plugin/lib/loader.js!./src/index.html 678 bytes {0} [depth 0] [built] webpack: Compiled successfully. _http_outgoing.js:541 if (this.finished) { ^

TypeError: Cannot read property 'finished' of undefined at OutgoingMessage.end (_http_outgoing.js:541:11) at ServerResponse.res.end (E:/code/first/sense/server/lib/apply-express-middleware.js:7:19) at ReadStream.onend (_stream_readable.js:490:10) at ReadStream.g (events.js:260:16) at emitNone (events.js:72:20) at ReadStream.emit (events.js:166:7) at endReadableNT (_stream_readable.js:905:12) at doNTCallback2 (node.js:450:9) at process._tickDomainCallback (node.js:405:17) [nodemon] app crashed - waiting for file changes before starting...

3129 次点击
所在节点    问与答
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/342841

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX