Created
February 5, 2018 08:44
-
-
Save catvinhquang/46885bdd8c17869766a792c78aee828d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fix 2 bugs below | |
# Bug 1: Could not connect to development server... | |
# Bug 2: Unable to load script from assets 'index.android.bundle'... | |
# Ref: https://stackoverflow.com/questions/22475849/node-js-error-enospc/32600959#32600959 | |
# Open Terminal and run lines below | |
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | |
react-native start | |
# Open new Terminal and run this | |
react-native run-android |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment