sakshi malik
sakshi malik

Reputation: 100

'create-react-native-app' is not recognized as an internal or external command, operable program or batch file

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

Answers (4)

berkaykrc
berkaykrc

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

Mertkaan Erdem
Mertkaan Erdem

Reputation: 11

just type npm install -g react-native or type npm install

Upvotes: 1

Rakesh Vishwakarma
Rakesh Vishwakarma

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

Muhammad Junaid
Muhammad Junaid

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

Related Questions