skip to Main Content

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 enter image description here

2

Answers


  1. 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.

    Login or Signup to reply.
  2. show me your code
    have you changed your entry point ?

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search