Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save catvinhquang/46885bdd8c17869766a792c78aee828d to your computer and use it in GitHub Desktop.
Save catvinhquang/46885bdd8c17869766a792c78aee828d to your computer and use it in GitHub Desktop.
# 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