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.
Related Posts:
- com.android.builder.testing.api.DeviceException: No connected devices
- why do I get react-native command not found error on windows pc?
- TypeError: Invalid attempt to spread non-iterable instance
- Best Practice to make project structure – React Native
- React native ERROR Packager can’t listen on port 8081
- How to create side menu with react-native?
- Unable to load script from assets index.android.bundle on windows
- App iOS stuck on blank white screen when build release React Native
- What is the difference between React Native and React?
- Error Running React Native App From Terminal (iOS)
- React Native: this.setState is not a function
- SyntaxError: Adjacent JSX elements must be wrapped in an enclosing tag
- adb server is out of date. killing
- What is prevState in ReactJS? [duplicate]
- react-native: command not found
- React Navigation back() and goBack() not working
- Timers in React Native (this.setTimeout)
- When to use useImperativeHandle, useLayoutEffect, and useDebugValue
- Is using async componentDidMount() good?
- How to clear react-native cache?
- React Native: Possible unhandled promise rejection
- Why am I getting Warning: Functions are not valid as a React child?
- Warning: Each child in an array or iterator should have a unique “key” prop. Check the render method of `ListView`
- Warning: Each child in an array or iterator should have a unique “key” prop. Check the render method of `ListView`
- Unable to Resolve Module in React Native App
- Print: Entry, “:CFBundleIdentifier”, Does Not Exist
- Failed to find Build Tools revision 23.0.1
- ReactNative: how to center text?
- React Native: JAVA_HOME is not set and no ‘java’ command could be found in your PATH
- ReactJS: Maximum update depth exceeded error
- What is the meaning of ‘No bundle URL present’ in react-native?
- Flexbox float right
- Must use destructuring props assignment
- “React.Children.only expected to receive a single React element child” error when putting
and in a - react-native error: module does not exist in module map