首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Firebase Emulators集线器UI未在浏览器中加载

Firebase Emulators集线器UI未在浏览器中加载
EN

Stack Overflow用户
提问于 2020-12-18 14:06:17
回答 1查看 426关注 0票数 0

我最近升级了Firebase Emulator,这样我就可以使用新的身份验证功能了,一切正常,运行firebase emulators:start后,它在控制台中显示了以下日志:

代码语言:javascript
复制
firebase emulators:start

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
+  functions: Using node@12 from host.
i  firestore: Firestore Emulator logging to firestore-debug.log
i  hosting: Serving hosting files from: dist/firetest
+  hosting: Local server: http://localhost:5000
i  ui: Emulator UI logging to ui-debug.log
i  functions: Watching "C:\wamp64\www\WasteMart\firetest\functions" for Cloud Functions...

┌─────────────────────────────────────────────────────────────┐
│ ✔  All emulators ready! It is now safe to connect your app. │
│ i  View Emulator UI at http://localhost:4000                │
└─────────────────────────────────────────────────────────────┘

┌────────────────┬────────────────┬─────────────────────────────────┐
│ Emulator       │ Host:Port      │ View in Emulator UI             │
├────────────────┼────────────────┼─────────────────────────────────┤
│ Authentication │ localhost:9099 │ http://localhost:4000/auth      │
├────────────────┼────────────────┼─────────────────────────────────┤
│ Functions      │ localhost:5001 │ http://localhost:4000/functions │
├────────────────┼────────────────┼─────────────────────────────────┤
│ Firestore      │ localhost:8080 │ http://localhost:4000/firestore │
├────────────────┼────────────────┼─────────────────────────────────┤
│ Hosting        │ localhost:5000 │ n/a                             │
└────────────────┴────────────────┴─────────────────────────────────┘
  Emulator Hub running at localhost:4400
  Other reserved ports: 4500

但是,当我在http://localhost:4000/上打开仿真器集线器时,什么也没有加载。

我在Chrome中打开了DevTools,它显示了这两个控制台错误:

代码语言:javascript
复制
Uncaught SyntaxError: Unexpected token '<'
manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.
DevTools failed to load SourceMap: Could not parse content for http://localhost:4000/static/js/10.e545a6ce.chunk.js.map: Unexpected end of JSON input

我不确定哪里出了问题,或者我应该尝试修复这个问题,我试图找到一种卸载模拟器并重新安装它们的方法,但我没有运气。

EN

回答 1

Stack Overflow用户

发布于 2020-12-22 05:26:33

现在可以工作了!?,我刚刚将firebase-tools从9.01更新到9.10,并且下载了仿真器文件ui-v1.4.1。

如果错误仍然存在,请删除firebase-tools,然后重新安装它们

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

https://stackoverflow.com/questions/65352466

复制
相关文章

相似问题

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