Giter Site home page Giter Site logo

Comments (7)

waldronmatt avatar waldronmatt commented on May 16, 2024 8

I'm getting the same error:

Screenshot_20201109_115226

The last error seems similar to webpack/webpack#10790

from webpack-hot-middleware.

Fedward avatar Fedward commented on May 16, 2024 1

@wangmeng1991
Having a similar problem - using optimization.runtimeChunk works for me.

from webpack-hot-middleware.

pwhipp avatar pwhipp commented on May 16, 2024

Same issue with webpack 5.9.0. If I kill the webpack server, the error disappears on restarting it. It reappears when I subsequently modify the file reported in the error.

The changes display correctly in spite of the error.

from webpack-hot-middleware.

pixelhuh avatar pixelhuh commented on May 16, 2024

Same issue with webpack 5.9.17
On version 4.46.0 HMR works fine.

from webpack-hot-middleware.

Fedward avatar Fedward commented on May 16, 2024

Same issue with webpack 5.9.17
On version 4.46.0 HMR works fine.

Also you can try target - web, in newly versions.

from webpack-hot-middleware.

xiki808 avatar xiki808 commented on May 16, 2024

Having the same issue.

webpack 5.37.0
webpack-dev-middleware 4.2.0
webpack-hot-middleware 2.25.0
browser-sync 2.26.14
mini-css-extract-plugin 1.6.0

Using webpack dev and hot middleware through a browserSync instance.

I get the below error on a JS or SASS change, and no patching happens:
image

On any try to patch JS or SASS:
image

Same result when replacing mini-css-extract-plugin with style-loader.

For JS, it works on the second change. The error only shows for the first update.

from webpack-hot-middleware.

glenjamin avatar glenjamin commented on May 16, 2024

Closing in favour of #390

from webpack-hot-middleware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.