我如何解决“不变违规:“主”尚未注册”-博览会退出后-React-Native

时间:2020-06-05 13:31:51

标签: node.js react-native expo

在我对项目进行“ expo-eject”之后,
当我尝试使用以下命令时:“ react-native run-android”
这就是我得到的:





node.js版本:v12.18.0
React-Native版本:
react-native-cli:2.0.1
反应本机:0.61.5

这是我的“ package.json”文件:

{ “脚本”:{
“ start”:“本机开始”,
“ android”:“ react-native run-android”,
“ ios”:“ react-native run-ios”,
“ web”:“ expo start --web”
},
“依赖关系”:{
“ expo”:“ ^ 37.0.6”,
“ expo-splash-screen”:“ ^ 0.2.3”,
“ expo-updates”:“〜0.2.0”,
“反应”:“〜16.9.0”,
“ react-dom”:“〜16.9.0”,
“ react-native”:“〜0.61.5”,
“ react-native-gesture-handler”:“〜1.6.0”,
“ react-native-reanimated”:“〜1.7.0”,
“ react-native-screens”:“ ^ 2.4.0”,
“ react-native-unimodules”:“〜0.9.0”,
“ react-native-web”:“〜0.11.7”,
“ @ react-native-community / masked-view”:“ 0.1.6”,
“ @ react-navigation / drawer”:“ ^ 5.4.1”,
“ expo-location”:“〜8.1.0”, “ expo-permissions”:“〜8.1.0”,
“ font”:“ 0.0.4”, “ react-native-map-link”:“ ^ 2.7.9”,
“ react-native-navigation-apps”:“ ^ 1.0.27”,
“ react-native-paper”:“ ^ 3.8.0”, “本机安全区域上下文”:“ 0.7.3”, “反应导航”:“ ^ 4.3.7”, “ react-navigation-drawer”:“ ^ 2.4.11”, “ react-navigation-header-buttons”:“ ^ 3.0.5”, “ react-navigation-material-bottom-tabs”:“ ^ 2.2.10”,
“ react-navigation-stack”:“ ^ 2.3.11”,
“ react-navigation-tabs”:“ ^ 2.8.11”,
“ react-redux”:“ ^ 7.2.0”,
“ redux”:“ ^ 4.0.5”
},
“ devDependencies”:{
“ @ babel / core”:“ ^ 7.8.6”,
“ babel-jest”:“〜25.2.6”,
“ jest”:“〜25.2.6”,
“ react-test-renderer”:“〜16.9.0”,
“ babel-preset-expo”:“〜8.1.0”
},
“私人”:true
}

0 个答案:

没有答案