首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >当我运行这个命令"firebase模拟器: start“时,它不会运行我的localhost。

当我运行这个命令"firebase模拟器: start“时,它不会运行我的localhost。
EN

Stack Overflow用户
提问于 2022-01-08 15:54:09
回答 1查看 446关注 0票数 0

当我运行快递时,它在我的控制台中显示这样的消息

代码语言:javascript
复制
$ 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
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-01-08 15:59:23

注意到输出中的错误消息了吗?

代码语言:javascript
复制
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

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

https://stackoverflow.com/questions/70633993

复制
相关文章

相似问题

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