webpack-dev-server: sockjs-client updated -> Incompatibile SockJS! Main site uses: "1.1.0", the iframe: "1.0.1"
sockjs-client has been updated two days ago to 1.1.0
When using a fresh install of webpack-dev-server, it now results in the following message in the browser: Incompatibile SockJS! Main site uses: "1.1.0", the iframe: "1.0.1" (I use npm 3.8.6)
Extract of dependencies:
`-- webpack-dev-server@1.14.1
+-- sockjs@0.3.17
+-- sockjs-client@1.1.0
...
sockjs@0.3.17 by default use sockjs-client@1.0.1 from a CDN. Maybe webpack-dev-server should pass the option sockjs_url to the SockJS server and so provide the correct version of sockjs-client without relying on a CDN ?
About this issue
- Original URL
- State: closed
- Created 11 years ago
- Reactions: 10
- Comments: 18 (10 by maintainers)
Commits related to this issue
- Enforce specific sockjs and sockjs-client version. Ref #474 — committed to webpack/webpack-dev-server by SpaceK33z 10 years ago
- Enforce specific sockjs and sockjs-client version. Ref #474 — committed to volkanunsal/webpack-dev-server by SpaceK33z 10 years ago
Any chance of releasing this fix for Webpack 1?
Hot Module Replacement is still unusable in webpack dev server V1 due to this bug. Will https://github.com/webpack/webpack-dev-server/pull/493 be backported for webpack 1?