我在我的react-native项目中使用了Firebase版本5.0.3,并且遇到了Repo / src / FirebaseConfiguration / Configuration.js问题:Haste Module映射中不存在模块“ firebase”。
我还附加了package.json
“依赖项”:{ “ firebase”:“ ^ 5.0.3”, “ lodash”:“ ^ 4.17.11”, “ prop-types”:“ ^ 15.6.2”, “ react”:“ 16.4.1”, “ react-native”:“ 0.56.0”, “ react-native-elements”:“ ^ 0.19.1”, “ react-native-firebase”:“ ^ 5.0.0-rc0”, “ react-native-iphone-x-helper”:“ ^ 1.2.0”, “ react-native-keyboard-aware-scroll-view”:“ ^ 0.8.0”, “ react-native-loading-spinner-overlay”:“ ^ 1.0.1”, “ react-native-modal-datetime-picker”:“ ^ 7.4.0”, “ react-native-navigation”:“ ^ 2.3.0”, “ react-native-secure-key-store”:“ ^ 2.0.2”, “ react-native-segmented-control-tab”:“ ^ 3.3.1”, “ react-native-size-matters”:“ ^ 0.2.1”, “ react-native-svg”:“ ^ 6.5.2”, “ react-native-svg-charts”:“ ^ 5.2.0”, “ react-native-tabbar-bottom”:“ ^ 1.0.4”, “ react-native-vector-icons”:“ ^ 6.1.0”, “ react-redux”:“ ^ 6.0.0”, “ redux”:“ ^ 4.0.1” }
我已经尝试了博客文章This is error message I received上的所有可能方式