Reputation: 100
So I want to create a react native application I am getting this error 'create-react-native-app' is not recognized as an internal or external command, operable program or batch file on running create-react-native-app and I also tried react-native, expo but the same error occurs.
Upvotes: 0
Views: 653
Reputation: 11
if you're using react-native>=63.0 you can try
$ npx create-react-native {project_name}
or
$ npm i -g create-react-native-app
$ create-react-native-app {my-project}
$ cd my-project
$ npm start
or just
$ npx react-native init {project_name}
Upvotes: 1
Reputation: 33
It seems create-react-native-app is not installed in your system. To install use the following command lines
npx create-react-native-app
Upvotes: 1
Reputation: 471
Create-React-Native-App is not installed on your computer so you can install it by using
npm install -g create-react-native-app
and then Use
create-react-native-app {project_Name}
Upvotes: 1