react-refresh-runtime.development.js:466 Uncaught TypeError: Cannot
read property ‘forEach’ of undefined
at Object.injectIntoGlobalHook (react-refresh-runtime.development.js:466)
at Object…/node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js
(ReactRefreshEntry.js:9)
at webpack_require (bootstrap:873)
at fn (bootstrap:167)
at Object.1 (websocket.ts:34)
at webpack_require (bootstrap:873)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
at main.chunk.js:1
禁用即可