Results 1 to 2 of 2

Thread: When creating a react native project the app.js file can't be create ?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2008
    Posts
    522

    When creating a react native project the app.js file can't be create ?

    I type the command in cmd: npx create-expo-app loginHAT when creating the project in the loginHAT folder there is no App.js file? How to fix this error ?

  2. #2
    New Member
    Join Date
    Oct 2024
    Posts
    11

    Re: When creating a react native project the app.js file can't be create ?

    It sounds like the project might not be fully generating the default files. When you use npx create-expo-app, it should include an App.js file by default. Make sure you’re using the latest version of Node.js and npm, as outdated versions can sometimes cause problems. If the App.js file is still missing, you can try manually creating it in your project folder with a basic structure for the app. Additionally, you might want to try deleting the project folder and re-running the command, or using npx expo-cli init loginHAT to see if that resolves the issue.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width