React delaying when opening graphical dependencies

1

After executing the commands:

react-native init AwesomeProject
cd AwesomeProject
react-native start

In cmd, I can not execute the graphic part of Reactuy-Android

You already have Android installed How do I fix this?

    
asked by anonymous 31.03.2017 / 01:59

2 answers

1

It looks like you do not have yarn installed. The yarn is an alternative to the npm , that is to say a motor to get components that are in the npm.

You must install globally:

npm install -g yarn
    
31.03.2017 / 08:04
1

As Sergio's response said, if you have a yarn error, then you have to make sure it is installed.

And what is "Reacty" ??

How did you install React Native? Using npm ? If you follow the official guide , then just use:

react-native init AwesomeProject
cd AwesomeProject
react-native run-android

Or you can run the application directly from Android Studio (recommend).

    
31.03.2017 / 20:48