我正在使用react-native版本0.48.2。简单的本机应用程序工作正常并在我的物理设备上成功部署,但当我添加yarn add react-native-navigation@latest
并按照https://wix.github.io/react-native-navigation/#/installation-android的流程时,它开始给我以下错误cannot find entry file index.android.js
{
"name": "newreact",
"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.48.2",
"react-native-navigation": "^1.1.336"
},
"devDependencies": {
"babel-jest": "22.0.4",
"babel-preset-react-native": "4.0.0",
"jest": "22.0.5",
"react-test-renderer": "16.2.0"
},
"jest": {
"preset": "react-native"
}
}
TIA