gpt4 book ai didi

android - 如何启动Firebase模拟器?

转载 作者:行者123 更新时间:2023-12-01 21:46:59 25 4
gpt4 key购买 nike

如何执行Firebase Emulator,我已经执行了here提到的所有步骤。这是我尝试运行模拟器时的输出:

=== Emulators Setup
? Which Firebase emulators do you want to set up? Press Space to select emulator
s, then Enter to confirm your choices. Firestore
i Port for firestore already configured: 8080
? Would you like to download the emulators now? Yes

i Writing configuration info to firebase.json...
i Writing project information to .firebaserc...

✔ Firebase initialization complete!
users-iMac:~ users firebase emulators:start --only firestore
i emulators: Starting emulators: firestore
⚠ emulators: It seems that you are running multiple instances of the emulator suite for project project_name. This may result in unexpected behavior.
✔ hub: emulator hub started at http://localhost:4400
⚠ firestore: Did not find a Cloud Firestore rules file specified in a firebase.json config file.
⚠ firestore: The emulator will default to allowing all reads and writes. Learn more about this option: https://firebase.google.com/docs/emulator-suite/install_and_configure#security_rules_configuration.
i firestore: firestore emulator logging to firestore-debug.log
✔ firestore: firestore emulator started at http://localhost:8080
i firestore: For testing set FIRESTORE_EMULATOR_HOST=localhost:8080
✔ emulators: All emulators started, it is now safe to connect.

在单击localhost链接( localhost: 4400)时,它显示:

enter image description here

并在 localhost:8080上显示:

enter image description here

最佳答案

我遇到了相同的问题,并且似乎集线器在低于8.4的Firebase版本上不起作用,而您正在使用8.1.1。尝试升级到8.4.3。

关于android - 如何启动Firebase模拟器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62137557/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com