npm start 页面空白 控制台报错
来源:2-1 用 Create React App 初始化项目

weixin_慕斯1099941
2021-08-10
我初始化完项目 然后start 成功 但是页面报错
Uncaught TypeError: Cannot read property ‘forEach’ of undefined
at Object.injectIntoGlobalHook (react-refresh-runtime.development.js:465)
at Object…/node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js (ReactRefreshEntry.js:8)
at webpack_require (bootstrap:856)
at fn (bootstrap:150)
at Object.1 (reportWebVitals.ts:16)
at webpack_require (bootstrap:856)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
at main.chunk.js:1
写回答
1回答
-
Nolan
2021-08-12
00
相似问题
安装jira-dev-tool后,报错
回答 1
控制台报错,求解
回答 1