当我使用'npminstall -g firebase‘安装firebase到我的react-native项目时。我收到此警告消息
npm WARN @grpc/grpc-js@1.1.0 requires a peer of google-auth-library@5.x || 6.x but none is installedYou must install peer dependencies yoursel
更重要的是解决粗体警告(最后两个警告)
npm WARN eslint-plugin-react-native@3.2.1 requires a peer of eslint@^3.17.0 || ^4.0.0npm WARN native-base@2.7.2 requires a peer of react@>=16.4.1 but none is installed.npm WARN native
我正在尝试通过npminstall --save react-native为我的库安装react-native,这样我就可以导出一个react组件,该组件使用View作为其子组件的包装器,使其与平台无关当我尝试导入react-native时,它显示数百行代码,说明它不能解析react-native中的模块Error in ./
platform=android&dev=true&hot=false&minify=false
{"from":"D:\AwesomeProject\index.android.js","to":"react","message":"Unable to resolve module react from D:\\AwesomeProject\\index.android.js: Module does notd