What happened / 发生了什么
windows11电脑使用uv命令下载并安装的astrbot的data目录下不存在dist,而且打开webUI显示为白屏,开发者工具里显示错误Expected a JavaScript-or-Wasm module script but the server responded with a MIME type of "text/plain". 按照其他issues提供的方法(如下载dist并解压到data)依旧报此错误。
Reproduce / 如何复现?
win11电脑在powershell里输入uv tool install astrbot --python 3.12后新开窗口输入astrbot init与astrbot run,然后在microsoft/联想浏览器里进入http://localhost:6185
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
版本4.26.6 ,window uv一键部署。
OS
Windows
Logs / 报错日志
这是刚开始的data目录
这是WEB的状态
最后是终端的日志(应该不会有问题)
Are you willing to submit a PR? / 你愿意提交 PR 吗?
Code of Conduct
What happened / 发生了什么
windows11电脑使用uv命令下载并安装的astrbot的data目录下不存在dist,而且打开webUI显示为白屏,开发者工具里显示错误Expected a JavaScript-or-Wasm module script but the server responded with a MIME type of "text/plain". 按照其他issues提供的方法(如下载dist并解压到data)依旧报此错误。
Reproduce / 如何复现?
win11电脑在powershell里输入uv tool install astrbot --python 3.12后新开窗口输入astrbot init与astrbot run,然后在microsoft/联想浏览器里进入http://localhost:6185
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
版本4.26.6 ,window uv一键部署。
OS
Windows
Logs / 报错日志
这是刚开始的data目录
这是WEB的状态
最后是终端的日志(应该不会有问题)
Are you willing to submit a PR? / 你愿意提交 PR 吗?
Code of Conduct