Webpack: Error with node 8.0.0 - Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING

Created on 1 Jun 2017  路  8Comments  路  Source: vuejs-templates/webpack

I updated to node v8.0.0 with npm 5.0.1 and I'm getting the following error, it appears on the console after 10 seconds.
screen shot 2017-06-01 at 13 29 51

Most helpful comment

@nguyendv just change build/dev-server.js:

var hotMiddleware = require('webpack-hot-middleware')(compiler, {
  log: () => { },
  heartbeat: 2000 // <== add this line
})

All 8 comments

same here (with node v8 and npm 4.2)

Sometimes the hot reload is not working or working very slow

Same here
Node 8, npm 5.0.2

Starts fine, after about 10 seconds I get the HMR error:

GET http://localhost:8080/__webpack_hmr net::ERR_INCOMPLETE_CHUNKED_ENCODING

Reverting back to Node 7.9.0 for now

fixed with #739

How can I get the fixes into an existing project?

@nguyendv just change build/dev-server.js:

var hotMiddleware = require('webpack-hot-middleware')(compiler, {
  log: () => { },
  heartbeat: 2000 // <== add this line
})

Great! Thanks!

I just fixed it with clearing cookies

Was this page helpful?
0 / 5 - 0 ratings