New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New app "react-native start" return error without "sudo" #14631
Comments
You shouldn't need to use sudo. Can you provide more details about your OS, which steps did you follow to set up your dev environment? |
@hramos I used https://facebook.github.io/react-native/docs/getting-started.html and install react native CLI.
Use OpenJDK |
Did you install watchman? |
@hramos No because docs said that it's optional. |
Please give that a try. It's less straightforward to install on Linux so it was marked as optional, but there may be certain situations where the tooling assumes watchman is installed. |
I don't understand so why it's working well with |
Any suggestion about this? |
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally! If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution. |
I receive the error:
|
After installing watchman, my issue got fixed |
Description
Later I can't init project without sudo until I saw this issue and run
sudo chmod 777 /home/xxxxx/.babel.json
, now I can init project without sudo (likereact-native init AppName
) but when I create a simple project (just a project init) and try running this byreact-native start
it's return bellow message:When I use
sudo react-native start
it's working well. Why it's needsudo
? How we can fix it?Reproduction Steps
Create new project with:
Change to this project directory:
Try start app:
Sample Code
Just simple hello world.
Solution
Run with
sudo
Additional Information
The text was updated successfully, but these errors were encountered: