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.

[RN 0.52.0] Unknown named module: 'react'

See original GitHub issue


After upgrade react-native (0.52.0) I receive this error: Unknown named module: 'react' image

Steps to Reproduce

  • Create new proj via react-native init
  • Install this plugin
  • Important! Change file App.js:
const App = () => (
  <View style={styles.container}>
        <Text style={styles.welcome}>
          Welcome to React Native!
        <Text style={styles.instructions}>
          To get started, edit App.js
        <Text style={styles.instructions}>

export default App

Just run react-native run-ios

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

hbarylskyicommented, Feb 12, 2018

@Gyran everything worked after I ran react-native start --reset-cache 😃 Thank you for the fix.

anhnnpcommented, Apr 6, 2018

@Gyran @hbarylskyi thanks for much! I ran react-native start --reset-cache and fixed hot reload on react native version 0.54

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem linking tipsi-stripe with rn 0.52.0 · Issue #273 - GitHub
I keep running into compatibility issues with basic rn 0.52.0 ... name 'Google' } mavenLocal() jcenter() maven { // All of React Native...
Read more >
"Unknown named module" error in react native - Stack Overflow
I'm creating an app using react native but some imports raise the error from the title: "Unknown named module" .
Read more >
types/react-native/index.d.ts - UNPKG
@types/react-native/index.d.ts ; 242, * @param eventType - Name of the event to emit ; 243, * @param listener - Function to invoke when...
Read more >
react native execution failed for task ':app:installdebug'.
Open new terminal window and in your project folder run npm install to re-install node modules. Finally run your app using react-native run-android....
Read more >
React Native March 2018 (v0.55.0) released
Added support for animated tracking to native driver. · There's a new UTFSequence module in the library for common Unicode sequences (Emoji!)
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 Post

No results found

github_iconTop Related Hashnode Post

No results found