简体   繁体   中英

npx react-native init MyTestApp command is not installing the react-native in MAC

ISSUE

I'm trying to install and run the react native todo command - npx react-native init MyTestApp in my local MacBook Pro. The following are the issues I'm facing:

here is the actual github issue: enter link here

May I know what are the steps I'm missing?

With Latest react-native version, make sure everything is latest too.

Here's the latest compatibility

MacOS Catalina : 10.15.4
Xcode version  : 11.4 (11E146)
Pod version.   : 1.9.1

Note: My answer is limited to mac only. I was also facing this issue, this is how i am able to solve it.

Trying installing the Xcode developer tools

xcode-select --install

or try force resetting it if it's already installed.

sudo xcode-select --reset

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM