Updated to webpack
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
I am seeing an error:
Uncaught TypeError: Cannot read property 'replace' of null
in line 5 of webpack-dev-server/client/index.js :
var scriptHost = scriptElements[scriptElements.length-1].getAttribute("src").replace(/\/[^\/]+$/, "");
+1 This issue was introduced with [email protected]. When I rollback to [email protected], everything is fine again
+1
Guys, you can search the script element by id or something. No guarantee the last one is yours.
+1, rollback to @1.14.0 is fine for me,
:+1:
The same error after update to 1.4.1
+1 rolledback to @1.14.0 fixed the problem.
also getting this error on client when adding an inline-script-tag
+1 rolled back to @1.14.0 fixed the problem.
+1 hi all.
+1. thanks for the tip, rolling back to 1.14.0 works for me too
:+1:
+1 me too. 1.14.0 works.
+1, same issue as this and #381. Why is this unresolved for so long?
+1
@sokra can you have a quick look at this? there are already two issues and three PRs open for this problem.
https://github.com/webpack/webpack-dev-server/issues/381 https://github.com/webpack/webpack-dev-server/pull/300 https://github.com/webpack/webpack-dev-server/pull/394 https://github.com/webpack/webpack-dev-server/pull/396 https://github.com/webpack/webpack-dev-server/pull/447
+1
+1
+1
+1
+1
+1
For those who want to make the leap to Webpack 2.0 beta, this issue appears to be fixed in webpack-dev-server 2.1.0-beta.0
Dupe of #117.
Most helpful comment
+1 This issue was introduced with [email protected]. When I rollback to [email protected], everything is fine again