找不到条目文件index.android.js甚至使用0.48.2反应原生版本

时间:2018-01-11 15:59:08

标签: android react-native

我正在使用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

0 个答案:

没有答案