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

TypeError: Cannot read property 'forEach' of undefined #586

Closed
vishnuc opened this issue Apr 25, 2021 · 1 comment
Closed

TypeError: Cannot read property 'forEach' of undefined #586

vishnuc opened this issue Apr 25, 2021 · 1 comment

Comments

@vishnuc
Copy link

vishnuc commented Apr 25, 2021

React Native Debugger app version: 0.11.7
React Native version: 0.63.4
Platform: Android simbulator
Is real device of platform: No
Operating System: macOS

Hi , I am just installing basic app via expo using

expo init my-app

Then I installed react-native-debugger and connected to the port 19000.

When I click any elements via Devtools I get following error

React DevTools] Error calling listener {event: "inspectElement", payload: {…}}
RemoteConsole.js:80 error: TypeError: Cannot read property 'forEach' of undefined
    at mergeInspectedPaths (backend.js:10860)
    at Object.inspectElement (backend.js:10983)
    at backend.js:12556
    at Bridge.emit (backend.js:5496)
    at backend.js:13211
    at backend.js:15406
    at Array.forEach (<anonymous>)
    at EventTarget.handleMessage (backend.js:15404)
    at EventTarget.dispatchEvent (event-target-shim.js:818)
    at WebSocket.js:231
ExceptionsManager.js:179 TypeError: Cannot read property 'forEach' of undefined
    at mergeInspectedPaths (backend.js:10860)
    at Object.inspectElement (backend.js:10983)
    at backend.js:12556
    at Bridge.emit (backend.js:5496)
    at backend.js:13211
    at backend.js:15406
    at Array.forEach (<anonymous>)
    at EventTarget.handleMessage (backend.js:15404)
    at EventTarget.dispatchEvent (event-target-shim.js:818)
    at WebSocket.js:231

Please check attached image

Screenshot 2021-04-26 at 1 51 07 AM

@noopurphalak
Copy link

Duplicate of #584

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