我从由转化酶提供的初学者工具包中安装了RNF。我正在使用RNF应用,数据库,分析,auth。一切都很顺利,直到我需要这个模块。它在应用程序启动时抛出一个错误(在Android上,还没有尝试过iOS):
...\node_modules\react-native\Libraries\Core\ExceptionsManager.js:86
You've attempted to require '@react-native-firebase/auth' version '6.0.3', however,
the '@react-nati
当我试图在我的Mac M1上用android和ios构建我的本机应用程序时,当我在error.....it上构建时,就不会出现这个error.....it:
Package firebase-functions has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in /Users/..../node_modules/firebase-functions/pa
在更新xCode之后,我在一周内遇到了下面的错误。我无法在设备上运行应用程序。我不认为问题出在xcode上,因为即使我尝试在android设备上运行,同样的问题也会发生。
当我们使用重置选项运行npm start时,也会发生同样的错误。
唯一的选择是在删除ios build文件夹后在android设备上运行。
错误
The following files share their name; please adjust your hasteImpl:
* <rootDir>/node_modules/react-native/package.json
* <ro
尝试在我的android设备上运行排毒,遇到以下错误: > Configure project :react-native-firebase
react-native-firebase: using React Native prebuilt binary from /Users/m/Desktop/alohapass-business/node_modules/react-native/android
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the depend
我正在尝试成功运行react本机安装附带的boiler -test.js测试。我已经看到这个测试在其他项目中“开箱即用”,然而,由于我们与Firebase SDK的集成,我的测试失败了。我们的长期目标是构建一个测试套件,模拟对我们的firebase SDK的调用(我想探索以下解决方案:https://medium.com/stories-from-upstatement/jest-mocks-roasting-on-an-open-firestore-36fa55b76953、How do you mock Firebase Firestore methods using Jest? ),但
我正在使用react本机实现firebase,下面是我正在使用的版本
"firebase": "^5.4.1",
"react-native": "0.56.0",
"react": "16.4.1",
但是,当我导入firebase时,它会显示以下错误:
undefined is not a function (evaluating '_iterator2[typeof Symbol === "function" ? Symbol.iterator : "@@ite
我试图在我的项目上运行npm安装,我删除了节点模块来重新安装它,但是我的终端上有很多错误。我所做的就是在假定的文件夹中安装npm,但是仍然会出现错误。错误消息在此消息下面。谢谢
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\APPname\node_modules\.staging\react-native-441da136\React\CxxModule\RCTCxxMethod.h'
npm WARN tar ENOENT: no such file or directory, open
我得到以下错误后,更新我的反应-本机版本为0.59.10在android上。
(0,react.memo) is not a function.(in '(0,_react.memo)(FastimageBase)')'),'(0,_react.memo)' is undefined)
我的Package.json文件如下:
"dependencies": {
"@ptomasroos/react-native-multi-slider": "^1.0.0",
"@pusher/ch