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.

npx react-native info and npx react-native init fails with error

See original GitHub issue

Description

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

Screenshot 2022-08-17 at 11 52 50 PM Screenshot 2022-08-17 at 11 53 28 PM

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

11reactions
wedhakacommented, Oct 8, 2022

First, remove the locally installed react-native

npm uninstall -g react-native or npm uninstall react-native

then retry it again

npx react-native init AwesomProject

3reactions
miguelarnalotcommented, Oct 20, 2022

Check if you have npm installed

run npm install

Read more comments on GitHub >

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

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