after checkout when i say react-native run-android im getting below error.
Metro Bundler has encountered an internal error, please check your terminal error output for more details
below is package.json in my project.
{
"name": "NCAPRNRedux",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.2.0",
"react-native": "0.52.2",
"react-native-vector-icons": "^4.0.0",
"react-navigation": "^1.0.0-beta.29",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0"
},
"devDependencies": {
"babel-jest": "22.1.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-react-native": "^4.0.0",
"jest": "22.1.4",
"react-test-renderer": "16.2.0"
},
"jest": {
"preset": "react-native"
}
}
anyone had this issue and solved it?
(lsof -i 8081 and kill -9 {PID})
the process already running on the default port (say 8081), restart the emulator (just in case), it may solve the problem. – Downandoutsudo react-native start
and it worked – Bowerman