首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何启动Firebase模拟器?

如何启动Firebase模拟器?
EN

Stack Overflow用户
提问于 2020-06-02 01:24:02
回答 1查看 340关注 0票数 1

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

代码语言:javascript
复制
=== 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: 4400),它会显示:

localhost:8080上,它显示:

EN

回答 1

Stack Overflow用户

发布于 2020-07-04 03:23:03

我遇到了同样的问题,中心似乎不能在低于8.4的firebase版本上工作,而您使用的是8.1.1。尝试升级到8.4.3。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62137557

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档