MoonshotAI / MoonshotAI/kimi-cli

[Bug] v1.39.0 /web 模式 JavaScript 文件 MIME 类型错误导致页面无法加载 || [Bug] v1.39.0 /web mode JavaScript file MIME type error causes page to fail loading

Open
#2,074 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
11.4k
Forks
1.3k
Avg merge
9h 47m
Merged PRs (30d)
2

Description

What version of Kimi Code CLI is running?

v1.39.0

Which open platform/subscription were you using?

/web mode (local web server)

Which model were you using?

N/A - issue occurs before model selection

What platform is your computer?

Windows 10 (AMD64)

What issue are you seeing?

When running kimi cli /web and accessing the local web server at http://127.0.0.1:5494/, the page fails to load properly.

Browser console error:
index-C1DST3ay.js:1 Failed to load module script: Expected a JavaScript-or-Wasm 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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce kimi cli /web on Windows 10 and inspect the local web server's handling of the JavaScript asset reported as index-C1DST3ay.js. Check the response headers and static-file MIME mapping; done means the asset is served with a JavaScript module MIME type and http://127.0.0.1:5494/ loads successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
cli, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.