question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot read property 'displayName' of null

See original GitHub issue

Since upgrade to RN 0.57.5 and the latest React, the following issue arose upon running React Native Debugger and starting the App:

ExceptionsManager.js:84 Warning: React DevTools encountered an error: TypeError: Cannot read property 'displayName' of null.

I believe it is linked to https://github.com/facebook/react-devtools/issues/1195 and https://github.com/facebook/react-devtools/issues/1168

React Native Debugger app version: 0.8.1 React Native version: 0.57.5 Platform: iOS AND Android Is real device of platform: Simulator and Real device in debug mode Operating System: macOS

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:20
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
phil-flyclopscommented, Dec 6, 2018

I just upgraded to React Native v0.57.7 from 0.57.5 and the problem self resolved

1reaction
phil-flyclopscommented, Nov 19, 2018

As a heads up, I did a local build with the version of react devtools upgraded to 3.4.2 in line with part of the discussion in infacebook/react-devtools#1168 and it did not resolve the issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: Cannot read property 'displayName' of ...
1 Answer 1 ; () => { setState ; null }); console ; "read error set to null now attempting to fetch data");...
Read more >
Cannot read property 'displayName' of undefined · Issue #7390
In my case it was because I imported the component as a named import instead of default import. So I fixed it from...
Read more >
Unable to read 'displayName' of null error. : r/reactjs - Reddit
I'm coding this one segment that is supposed to alert the user to sign in before being able to upload photos.
Read more >
How to fix the error “Cannot read property 'displayName' of ...
This part will be fixed the error 'displayName' of undefined”. And you need to use Named exports because you coded the property of...
Read more >
cannot read properties of undefined (reading 'displayname')
On first load of the page my component has an error Cannot read properties of undefined reading ('displayName') . If I update the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found