Error: Directory should be created using "react-native init"
See original GitHub issueWhile running the following command in project root:
react-native-rename "AwesomeProject"
I got:
Directory should be created using “react-native init”
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
react-native init in current folder - Stack Overflow
This is the code to copy the folder name, drop down a level and init into it. result=${PWD##*/} && cd .. && react-native...
Read more >Get Started with Windows · React Native for Windows + macOS
Running a React Native Windows App · From the root of the project directory, run the following script which will automatically link your...
Read more >Troubleshooting - React Native
react-native init hangs ... When you're debugging a process or need to know a little more about the error being thrown, you may...
Read more >Addressing common errors in React Native - LogRocket Blog
Another error that developers commonly encounter when attempting to run their React Native application is shown below: Unable to load script.
Read more >Installation in React Native and bare projects
If you created your project with npx react-native init and do not have any other Expo packages installed, you'd need to install Expo...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
app.json
is needed. if you deleted this file.Be sure to launch the command from the folder that contains the folder Android