Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred while using the Create-React app #9893

Closed
vitalboyzf opened this issue Oct 24, 2020 · 5 comments
Closed

An error occurred while using the Create-React app #9893

vitalboyzf opened this issue Oct 24, 2020 · 5 comments

Comments

@vitalboyzf
Copy link

react-refresh-runtime.development.js:465 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:851)
at fn (bootstrap:150)
at Object.1 (index.js:8)
at webpack_require (bootstrap:851)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
at main.chunk.js:1

@Vincent-sy
Copy link

I also met the same problem. What should I do?

@TTRemesh
Copy link

me too. So, what should I do ?

@TTRemesh
Copy link

I found the reason. You installed the Chrome extension [React Developer Tools].
Disable it, then re-run the project.

@vitalboyzf
Copy link
Author

close[React Developer Tools] It works! But can't developer tools be used

@vitalboyzf
Copy link
Author

The developer tool version is too low, so you can download the new version of Google react developer tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants