webpack / webpack-dev-server

Serves a webpack app. Updates the browser on changes. Documentation https://webpack.js.org/configuration/dev-server/.
MIT License
7.8k stars 1.44k forks source link

TypeError due to assuming all <script> elements have a src attribute #117

Closed steveme closed 8 years ago

steveme commented 9 years ago

Hi,

Am seeing a lot of :

Uncaught TypeError: Cannot read property 'replace' of null webpack-dev-server.js:1

Which is from here: https://github.com/webpack/webpack-dev-server/blob/master/client/index.js#L5

As i've got script elements in my markup that don't have a src attribute.

We're using fluxible, so our HTML has inline state in a Githubissues.

  • Githubissues is a development platform for aggregating issues.