-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Cannot read property 'forEach' of undefined #10242
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
Comments
Today, I found this problem. |
Same here, running from npx here causes the same issue (no modifications maded) EDIT: The problem comes from the global Hook which initiated wrong (Missing renderers prop on the object, which needs to be initiated with new Map()) |
@avihaymenahem lol, I installed this extension and now the project is working correctly. but only in a browser with the extension |
@KovbenyaAlexander Close the Browser react plugin。 |
that also worked for me. XD |
so did i,how to do? |
disabled the browser devtools will be fine, but i need this devtools to debug? |
@arron-chen the same case with me. do you find better way to debug? |
Did this issue ever get solved? |
the same case |
i've been getting a similar error when clearing localStorage manually (which is set by a useEffect, the data stored is an object that i'm state managing with react's context API).
|
@voidoperator I am getting this exact same issue with localstorage but cannot find a fix |
I'm not even using "Create React App" and I'm getting the same issue with "Vite" and "Next.js". |
|
I'm getting this error without the react devtools as well. All I have to do is access my website running om localhost, through BrowserStack. Not sure what is happening, but it should be easy to reproduce with any CRA. |
Hello
I created a project using
npx create-react-app my-app
. If i usenpm start
, compilation is successful, but the page is blank.I have not made any changes to the project.
The console contains an error:
Screenshot:

The text was updated successfully, but these errors were encountered: