Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stuck on info starting JS server

I have initiated successfully a new react-native project. Then, every time I try to run my newly built project using the command react-native run-android, it gets stucks on info Starting JS server....

Here is the output:

$ react-native run-android info Running jetifier to migrate libraries to AndroidX".  You can disable it using "--no-jetifier" flag. Jetifier found 855 file(s) to forward-jetify. Using 4 workers... info Starting JS server..." 

I tried restarting the laptop and switching emulators. I don't know what else to do anymore.

How do I solve the problem?

like image 257
Eme Hado Avatar asked Aug 01 '19 16:08

Eme Hado


1 Answers

Kill the automatically popped up metro bundler command prompt

Kill the command terminal which is running react-native run-android

Now Run react-native start This will start your js server

In new command prompt window run react-native run-android The app came up in 5 mins in an emulator.

like image 82
Sachin Poreyana Avatar answered Oct 18 '22 05:10

Sachin Poreyana