npx react-native info and npx react-native init fails with error
See original GitHub issueDescription
npx react-native fails with error : - Failed to load configuration of your project.
Version
not known, trying the latest
Output of npx react-native info
error Failed to load configuration of your project.
Steps to reproduce
npx react-native info
Snack, code example, screenshot, or link to a repository
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:14 (4 by maintainers)
Top Results From Across the Web
npm ERR! could not resolve error while using `npx react ...
I just fixed this issue. Looks like its a problem with npm. I just ran npm config set legacy-peer-deps true before running npx...
Read more >Troubleshooting - React Native
When you're debugging a process or need to know a little more about the error being thrown, you may want to use the...
Read more >error failed to load configuration of your project. info run cli with
shell npx react-native init AwesomeProject. The following error occurred:. error Failed to load configuration of your project. info Run CLI with --verbose ...
Read more >Addressing common errors in React Native - LogRocket Blog
Explore common React Native errors such as "command not found" and learn about their causes and potential solutions.
Read more >Build fails with `npx react-native init MyApp` : r/reactnative
I can not run newly created apps in react-native. If anyone can help a brother out, I'd be forever grateful... This is the...
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
First, remove the locally installed react-native
npm uninstall -g react-native
ornpm uninstall react-native
then retry it again
npx react-native init AwesomProject
Check if you have npm installed
run
npm install