如何启动Firebase模拟器,我已经执行了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: 4400),它会显示:

在localhost:8080上,它显示:

发布于 2020-07-04 03:23:03
我遇到了同样的问题,中心似乎不能在低于8.4的firebase版本上工作,而您使用的是8.1.1。尝试升级到8.4.3。
https://stackoverflow.com/questions/62137557
复制相似问题