I am trying to build a React native mobile app, but it always presents the below error after which it has been completely built. I’m making use of TypeScript. I’m making use of Expo Cli and also I’m using react native version "react-native": "0.71.6". If I click on dismiss, it will dismiss the error and the app will load. Kindly help! I don’t know what’s wrong. It’s not my code because before I started writing, it was showing this, just immediately I finished setting up Eslint and Prettier
Question posted in React native
The official React Native documentation can be found here.
The official React Native documentation can be found here.
2
Answers
I had the same issue. The problem for me was that I exported my App using named export. When changing it into a default export everything worked like it should.
show me your code
have you changed your entry point ?