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?
Do you have any require image like this:
require("../assets/user.png")
If yes then please check the image path. I’m facing the same issue, so I just corrected the path and the error is gone.