I'm trying to install react-native on Windows by entering command
$ npx react-native
and it shows error
You did not pass any commands, run `react-native --help` to see a list of all available commands.
is their something need to pass at the place of <command>
in npx react-native <command>
If you already installed node js, then run the commons using:
npx react-native init YourProject
It will download all the resources required for your project. When the resources are downloaded, move to the project folder with
cd YourProject
and type the following command:
npx react-native run-android
Make sure either the emulator is running or your device is connected with your pc.