question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Directory should be created using "react-native init"

See original GitHub issue

While running the following command in project root: react-native-rename "AwesomeProject" I got:

Directory should be created using “react-native init”

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
ettingshausencommented, Dec 16, 2020

app.json is needed. if you deleted this file.

2reactions
matteodanellicommented, Jan 7, 2019

Be sure to launch the command from the folder that contains the folder Android

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found