Uncaught TypeError: connection.onClose is not a function
at createSocket (webpack-internal:///../../node_modules/@pmmmwh/react-refresh-webpack-plugin/src/runtime/createSocket.js:32)
at eval (webpack-internal:///../../node_modules/@pmmmwh/react-refresh-webpack-plugin/src/runtime/ErrorOverlayEntry.js:80)
at Object.../../node_modules/@pmmmwh/react-refresh-webpack-plugin/src/runtime/ErrorOverlayEntry.js (bundle.js:4276)
at __webpack_require__ (bundle.js:736)
this is the problem
let SocketClient;
if (typeof __webpack_dev_server_client__ !== 'undefined') {
SocketClient = __webpack_dev_server_client__;
} else {
SocketClient = __webpack_require__("../../node_modules/sockjs-client/lib/entry.js");
}
we are using https://github.com/shellscape/webpack-plugin-serve instead of https://github.com/webpack/webpack-dev-server
maybe @shellscape or @playma256 can help us with this one
this is the problem
we are using https://github.com/shellscape/webpack-plugin-serve instead of https://github.com/webpack/webpack-dev-server
maybe @shellscape or @playma256 can help us with this one