-
May 8th, 2024, 04:30 AM
#1
Thread Starter
Fanatic Member
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 ?
-
Oct 15th, 2024, 12:02 PM
#2
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|