Skip to content

[Bug]: WebUI无法正常显示 #1014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bilibilixyyyc opened this issue Feb 4, 2025 · 7 comments · Fixed by #1243
Closed

[Bug]: WebUI无法正常显示 #1014

bilibilixyyyc opened this issue Feb 4, 2025 · 7 comments · Fixed by #1243
Labels
bug? Bug或Bug修复相关

Comments

@bilibilixyyyc
Copy link

消息平台适配器

其他(或暂未使用)

运行环境

Python 3.10.11;windows 11;edge浏览器

异常情况

访问127.0.0.1:5300地址时,WebUI呈现白屏。

复现步骤

正常启动main.py后访问127.0.0.1:5300

启用的插件

No response

@bilibilixyyyc bilibilixyyyc added the bug? Bug或Bug修复相关 label Feb 4, 2025
@Sherlockyor
Copy link

同样的问题,报错信息:Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.

@RockChinQ
Copy link
Owner

我测了一下,不管是手动部署还是docker启动都是正常的。

你俩是从 release 下载的压缩包么?需要确保 web/dist 目录下有文件。

@Sherlockyor
Copy link

目录下是有文件的。

@MoonBlueSky
Copy link

相同问题,

Image

Image

@Henriport-T
Copy link

Henriport-T commented Feb 12, 2025

Image
我也是一样的问题

Image
改了这里才能显示

@mmzkql
Copy link

mmzkql commented Mar 28, 2025

我也是一样的问题,现在最新版仍然没有解决
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.
edge 134.0.3124.85 Python3.13 win11 23H2

@RockChinQ RockChinQ linked a pull request Mar 28, 2025 that will close this issue
7 tasks
@RockChinQ
Copy link
Owner

新版本修了,可以按照https://docs.langbot.app/deploy/update.html 更新一下。docker需要等15分钟之后才会更新。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? Bug或Bug修复相关
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants