react-native-boilerplate icon indicating copy to clipboard operation
react-native-boilerplate copied to clipboard

Unable to load script. Make sure you're either running a Metro server (run 'react-native start')

Open dextermapalya opened this issue 7 years ago • 4 comments

Unable to load script. Make sure you're either running a Metro server Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle index.android.bundle is packaged correctly for release.

dextermapalya avatar Aug 30 '19 10:08 dextermapalya

Please give more details about your error, this is a generic message.

Memogcia avatar Sep 02 '19 15:09 Memogcia

Please see attached images When I run react-native run-android I get these errors on my phone

Screenshot_20190903-094659

Screenshot_20190903-094655

Screenshot_20190903-094429

dextermapalya avatar Sep 03 '19 04:09 dextermapalya

Are you running the metro server at the same time? with yarn start --reset-cache, if you do so, I recommend to clean your project with this Medium post just follow the yarn steps, also I recommend to do it all with yarn.

Memogcia avatar Sep 05 '19 15:09 Memogcia

Hey @dextermapalya

Indeed, if the metro bundler is not running, you can run yarn start on a dedicated terminal, then run react-native run-android again.

Hope this will help, and thank you @Memogcia

AurelGit avatar Sep 17 '19 20:09 AurelGit