【发布时间】:2022-07-19 06:03:12
【问题描述】:
我尝试通过个人项目和位于此处的 Firebase Emulator Suite Codelab 启动 firebase firestore 和实时数据库模拟器: (https://firebase.google.com/codelabs/firebase-emulator#0) 使用 codelab,命令行在 'firebase emulators:start' 之后打印以下内容
[....] codelab-initial-state % firebase emulators:start --import=./seed
i emulators: Starting emulators: auth, functions, firestore, hosting
⚠ functions: The following emulators are not running, calls to these services from the Functions emulator will affect production: database, pubsub, storage
⚠ Your requested "node" version "10" doesn't match your global version "17". Using node@17 from host.
i firestore: Importing data from /Users/lucasfrench/Documents/emulators-codelab/codelab-initial-state/seed/firestore_export/firestore_export.overall_export_metadata
i firestore: downloading cloud-firestore-emulator-v1.13.1.jar...
Progress: =====================================================================================================================================================================> (100% of 61MB)
i firestore: Firestore Emulator logging to firestore-debug.log
i emulators: Shutting down emulators.
i functions: Stopping Functions Emulator
i firestore: Stopping Firestore Emulator
i hub: Stopping emulator hub
Error: TIMEOUT: Port 8080 on localhost was not active within 60000ms
这与我使用实时数据库模拟器的个人项目相同。但是,我在启动其他产品的模拟器(例如身份验证模拟器)或访问 UI 模拟器时没有任何问题。
【问题讨论】:
标签: firebase-tools