当我运行快递时,它在我的控制台中显示这样的消息
$ firebase emulators:start
i emulators: Starting emulators: functions, database, hosting
! functions: The following emulators are not running, calls to these services from the Functions emulator will affect production: auth, firestore, pubsub, storage
+ functions: Using node@16 from host.
i database: Database Emulator logging to database-debug.log
! database: Fatal error occurred:
Database Emulator has exited because java is not installed, you can install it from https://openjdk.java.net/install/,
stopping all running emulators
i functions: Stopping Functions Emulator
i database: Stopping Database Emulator
! database: Error stopping Database Emulator
i hub: Stopping emulator hu发布于 2022-01-08 15:59:23
注意到输出中的错误消息了吗?
Database Emulator has exited because java is not installed,
you can install it from https://openjdk.java.net/install/我建议按照安装java的说明进行操作。还请检查这里的需求,https://firebase.google.com/docs/emulator-suite/install_and_configure
https://stackoverflow.com/questions/70633993
复制相似问题