Please provide all the information requested. Issues that do not follow this format are likely to stall.
I have created like 2 starter project in ReactNative using npx react-native init [projectName], and that error in the title always comes with the starter code, precisely on line 27.
React Native version:
OS: Windows 10 10.0.18362
CPU: (2) x64 Intel(R) Celeron(R) 2957U @ 1.40GHz
Memory: 1.76 GB / 7.89 GB
Node: 12.17.0 – C:\Program Files\nodejs\node.EXE
Yarn: 1.22.4 – C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.4 – C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
Android SDK: Not Found
Android Studio: Version 22.214.171.124 AI-192.7126.96.36.19992135
Java: javac 12
Python: Not Found
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
react-native: Not Found
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
- Create a new react native project
- Open the starter code from any editor, i use VScode.
- Go to App.js and scroll to line 27.
- Hold on a little bit then the error would occur.
Since it is a starter code from the react-native team, which helps new developers to understand the codebase and how it works, that error should not be there. It can scare a new developer coming into ReactNative.