V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
xoxoxo
V2EX  ›  问与答

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

  •  
  •   xoxoxo · 2017-02-24 10:37:54 +08:00 · 3144 次点击
    这是一个创建于 2847 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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...

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   891 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 19:54 · PVG 03:54 · LAX 11:54 · JFK 14:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.