This is what I’ve done with it:
Close all terminals and run build again.
You may forget to close nodejs terminal from another project, and they happen to have installed different react version.
So the code fetches from nodejs server conflicts with the native one.
More Related Contents:
- What is the difference between Expo and React Native?
- How to build .ipa application for react-native-ios? [closed]
- componentWillMount is deprecated and will be removed in the next major version 0.54.0 in React Native
- Unable to load script from assets index.android.bundle on windows
- Setting environment variable in react-native?
- Module AppRegistry is not registered callable module (calling runApplication)
- React Native: Possible unhandled promise rejection
- React-Navigation with Login Screen
- How do I display an animated gif in React Native?
- Unable to resolve module ‘AccessibilityInfo’, when trying to create release bundle
- React Native DEV and PROD variables
- React Native TextInput that only accepts numeric characters
- How to remove ‘Warning: Async Storage has been extracted from react-native core…’?
- How to make Metro (React Native packager) ignore certain directories
- How can I regenerate ios folder in React Native project?
- Does react native support base64 encoded images?
- FlatList calls `onEndReached` when it’s rendered
- React Native – Device back button handling
- How to use global variables in React Native?
- Is React Native’s Async Storage secure?
- Pass Data between Pages in React native
- React Native Android Build Error MainActivity.java:29: error: cannot find symbol
- react native get TextInput value
- However, this package itself specifies a `main` module field that could not be resolved
- react-native ios Podfile issue with “use_native_modules!”
- library not found for -lDoubleConversion
- emulator-5554 unauthorized for adb devices
- React Native – React Navigation transitions
- JSON Parse error: Unrecognized token’
- Call child function from parent component in React Native