firebase - Firebase 数据库模拟器无法以 java.lang.VerifyError 启动
问题描述
我尝试了以下
$ 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: firestore, pubsub
⚠ Your requested "node" version "nodejs10" doesn't match your global version "12"
⚠ database: Did not find a Realtime Database rules file specified in a firebase.json config file. 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 database: Database Emulator logging to database-debug.log
⚠ database: Fatal error occurred:
Database Emulator has exited with code: 1,
stopping all running emulators
i hub: Stopping emulator hub
i functions: Stopping Functions Emulator
i database: Stopping Database Emulator
⚠ database: Error stopping Database Emulator```
看着database-debug.log
我看到:
Exception in thread "main" java.lang.VerifyError: Uninitialized object exists on backward branch 209
Exception Details:
Location:
scala/collection/immutable/HashMap$HashTrieMap.split()Lscala/collection/immutable/Seq; @249: goto
Reason:
Error exists in the bytecode
Bytecode:
[snipped]
我正在使用 Mac OSX。有什么建议么?
解决方案
看来我在 mac OSX 上使用了不兼容的 java 版本。使用 java.com 的 java 运行时解决了这个问题。
推荐阅读
- java - 我如何将来自谷歌登录的凭据存储在 Firebase 身份验证中以用于将来的登录
- c - fgets 不接受最后一个值?
- typescript - 带有 ts_web_test 的 Bazel 网络服务器 404
- reactjs - 使用 reactjs 和 mongodb 上传图片
- flutter - 键盘颤动弹出时底部溢出
- swagger - 我在 AWS 上部署的应用程序的 Swagger 基本 URL 错误
- vba - 将焦点移动到 MS Access 中的子表单时的主表单记录验证
- python-3.x - 具有重复组名的长到宽转换
- hibernate - 使用 Arquillian 和 Tomee8 测试持久性。测试通过但抛出异常
- python - 在 python3 中调试无效的 utf-8 字符