‘react-native’ is not recognized as an internal or external command

‘react-native’ is not recognized as an internal or external command

The problem of ‘react-native’ is not recognized as an internal or external command

While ejecting your project out of Expo environment you can face this problem. To solve this problem, the solution is simple just install react-native-cli using the following command.

The command will install the react-native-cli on your command line and you can use your react-native command which is located here

C:\Users\Admin\AppData\Roaming\npm\react-native -> C:\Users\Admin\AppData\Roaming\npm\node_modules\react-native-cli\index.js

How useful was this post?

Click on a star to rate us!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You have successfully subscribed to the newsletter

There was an error while trying to send your request. Please try again.

About React will use the information you provide on this form to be in touch with you and to provide updates and marketing.