-
-
Notifications
You must be signed in to change notification settings - Fork 810
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
Debugger 'hangs' 'Loading' and errors cannot read prop forEach of undefined when trying to inspect component element #584
Comments
Same issue. Taking a udemy course and a handful of other people are experiencing it as well. |
Same issue here, i verified this problem by downloading a past project that i made but the error doesn't happen there. Both projects use Typescript This is my current project store (That presents the error)
This is my project's dependencies:
I'm suppose that the bug comes from a react native update and not directly from the developer tools |
Same issue here. / "react-native": "0.64.0", / RND: 0.11.5 |
Also same issue. I tried previous version of the debugger and it does not work either. |
any workarounds? |
I realllly need the (awesome) redux inspector this provides so what I'm going to maybe attempt is using react-devtools for inspecting the components and just try to use the redux tools on this application .. I think that might side-step the problem. But if you need to be able to inspect the components and their state/hooks/refs etc .. for right now i'd recommend |
Same here. "react-native": 0.64.0, RND: "0.11.7" |
2 similar comments
Same here. "react-native": 0.64.0, RND: "0.11.7" |
Same here. "react-native": 0.64.0, RND: "0.11.7" |
Same problem for me. "react-native": 0.63.0, RND: "0.11.7" |
Same problem on my app React Native: 0.63.4 I hope this issue is going to be fixed very soon because i have a deadline on that app. This bug have suddenly appeared this night. Before, i had no problems. Very strange... |
Same problem |
Same trouble with debugger. I tried to cache clean but Im equal again |
I think its 4.10.1 version of nested react-devtools problem, in original react-devtools current version 4.12 and no problems with component node preview |
@mezhinsky So, how do you update the react-devtools in react native debugger? |
@jhen0409 Please check this issue |
fork this app and change version of react-devtools in package.json and then build this app, or just wait when @jhen0409 fix that for us :) |
@mezhinsky tried changing the |
can't help you with that - never build electron apps :( |
Same issue on RN |
Same Issue Here. Did anyone solved it? |
To update to latest version with homebrew:
|
The underlying cause for this is probably what's described here: Once you're running a version built after this PR, the situation should be clearer: Here's the page I created describing common "fixes" for this issue: |
Did anyone get this to work? I've tried about everything... still getting the 'forEach' of undefined issue. |
Install react-native-debugger version |
Steps I took to get this to work on. Mac:
Yea finally! :) |
These last two worked for me .. just running brew upgrade react-native-debugger didn't fetch 11.8 for whatever reason.. But running |
I just downloaded the latest version from here https://github.com/jhen0409/react-native-debugger/releases |
React Native Debugger app version: [0.11.6]
React Native version: [0.63.4]
Platform: [iOS]
Is real device of platform: [Yes]
Operating System: [MacOS]
When I try and inspect any component in the react devTools panel of the debugger, it hangs at 'Loading' and console errors 'Cannot read property forEach of undefined'. Everything I can find on this issue points to updating the version of React devTools.. But although I'm able to update the React Native Debugger to the latest version (which it is). I cannot update the version of React Dev Tools that it is using internally (appears to be using 4.6.0). But I don't know if that's even the issue. I'm guessing it's expecting an array from something that's an object instead.
The text was updated successfully, but these errors were encountered: