Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Terminal > Run Bild Task is not working

未关闭
#7,813 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
typescript, vscode
领域
devtools

调研方向

在 VS Code web 中使用 .vscode/tasks.json 里定义的任务重现该问题,从 Terminal > Run Task 或 Run Build Task 开始。跟踪任务选择器未出现的原因,并比较日志中报告的缺失资产;当任务名称在下拉菜单中出现且浏览器控制台没有错误时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

bug code-server
Is there an existing issue for this?
  • I have searched the existing issues
OS/Web Information
  • Web Browser: Firefox / Chrome latest
  • Local OS: Windows 11 / Android
  • Remote OS: Arch Linux
    $ uname -a Linux server 7.0.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 17 May 2026 17:23:07 +0000 x86_64 GNU/Linux
  • Remote Architecture:
    $ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 46 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 12 On-line CPU(s) list: 0-11 Vendor ID: GenuineIntel Model name: 12th Gen Intel(R) Core(TM) i5-12500
  • code-server --version:
    $ code-server --version 1.121.0 51bc3c0f09e7b990ee35044c18d275a691c2fdc2 x64 code-server: v4.121.0 Code: 1.121.0 Commit: 51bc3c0f09e7b990ee35044c18d275a691c2fdc2 Date: 2026-05-19T23:32:58Z Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36
Steps to Reproduce
  1. when click on Terminal > Run Task or Run Build Task
  2. no top drop menu show to select the tasks created on /.vscode/tasks.json
  3. no errors thrown on the browser dev tools console.
  4. logs shows messing files:
    File not found: /home/cs/lib/vscode/node_modules/vsda/rust/web/vsda.js
    File not found: /home/cs/lib/vscode/node_modules/vsda/rust/web/vsda_bg.wasm
    File not found: /home/cs/lib/vscode/node_modules/@xterm/addon-ligatures/lib/addon-ligatures.js
Image
Expected

show drop down menu with names of tasks listed on /.vscode/tasks.json

Actual

no response and doesn't show drop down menu with names of tasks listed on /.vscode/tasks.json and now error thrown on browser dev tools console.

Logs
(to linux) vscode on pts/0
pam_unix(su-l:session): session opened for user linux(uid=1001) by (uid=1005)
pam_unix(su-l:session): session closed for user linux
Welcom vscode
[2026-05-22T11:51:01.905Z] info  code-server 4.121.0 51bc3c0f09e7b990ee35044c18d275a691c2fdc2
[2026-05-22T11:51:01.905Z] info  Using user-data-dir /home/cs/.local/share/code-server
[2026-05-22T11:51:01.911Z] info  Using config file /home/cs/.config/code-server/config.yaml
[2026-05-22T11:51:01.911Z] info  HTTP server listening on http://127.0.0.1:4317/
[2026-05-22T11:51:01.911Z] info    - Authentication is enabled
[2026-05-22T11:51:01.912Z] info      - Using password from /home/cs/.config/code-server/config.yaml
[2026-05-22T11:51:01.912Z] info    - Not serving HTTPS
[2026-05-22T11:51:01.912Z] info  Session server listening on /home/cs/.local/share/code-server/code-server-ipc.sock
[11:51:02]
[reconnection-grace-time] No CLI argument provided, using default: 10800000ms (10800s)
[11:51:02] [AgentHostChannel] Not registering: no --agent-host-bridge-port / --agent-host-bridge-path set.
[11:51:02] Extension host agent started.
[11:51:02] [127.0.0.1][ab993ca9][ManagementConnection] Unknown reconnection token (never seen).
[11:51:02] [127.0.0.1][02ac18ef][ExtensionHostConnection] Unknown reconnection token (never seen).
[11:51:07] [127.0.0.1][7263ef88][ManagementConnection] Unknown reconnection token (never seen).
[11:51:07] [127.0.0.1][3cd3b8ae][ExtensionHostConnection] Unknown reconnection token (never seen).
File not found: /home/cs/lib/vscode/node_modules/vsda/rust/web/vsda.js
Error: Unexpected SIGPIPE
    at process.<anonymous> (file:///home/cs/lib/vscode/out/server-main.js:599:10939)
    at process.emit (node:events:531:35)
[11:51:10] Error: Unexpected SIGPIPE
    at process.<anonymous> (file:///home/cs/lib/vscode/out/server-main.js:583:1282)
    at process.emit (node:events:531:35)
File not found: /home/cs/lib/vscode/node_modules/vsda/rust/web/vsda_bg.wasm
[11:51:10] [127.0.0.1][4485d07c][ManagementConnection] New connection established.
[11:51:11] [127.0.0.1][6e885591][ExtensionHostConnection] New connection established.
[11:51:11] [127.0.0.1][6e885591][ExtensionHostConnection] <119048> Launched Extension Host Process.
[11:51:12] [127.0.0.1][6e885591][ExtensionHostConnection] <119048> [reconnection-grace-time] Extension host: read VSCODE_RECONNECTION_GRACE_TIME=10800000ms (10800s)
File not found: /home/cs/lib/vscode/node_modules/@xterm/addon-ligatures/lib/addon-ligatures.js
Screenshot/Video

No response

Does this bug reproduce in native VS Code?

No response

Does this bug reproduce in VS Code web?

Yes, this is also broken in VS Code web

Does this bug reproduce in GitHub Codespaces?

No response

Are you accessing code-server over a secure context?
  • I am using a secure context.
Notes

No response

主要语言
TypeScript
星标
79.4k
派生
6.9k
平均合并
2 天 13 小时
30 天内合并 PR
39

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

coder/code-server 的其他 Issue

查看 coder/code-server 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。