git clone https://github.com/gajjartejas/react-native-lan-port-scanner.git
cd react-native-lan-port-scanner/example
npm install
- make sure you have no other packagers running!
react-native start
- start an emulator (e.g., using Android Studio -> Tools -> AVD Manager -> start one)
react-native run-android
- make sure you have no other packagers running!
react-native start
react-native run-ios
cd ios && pod install && cd ..
react-native run-ios
- if things don't work, clean up all your build and node_modules folders, npm install and rebuild