[Error] unhandlederror-Native addon "runtime" not found for linuxmusl-x64. Tried: <REDACTED: user-file-pat...

Open
#321,635 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
node.js, typescript
Domain
devtools

Research direction

Start with the @github/copilot/sdk/index.js native-addon loading path at the reported commit 6928394f and inspect how linuxmusl-x64 candidates are resolved. Reproduce the error with VS Code 1.124.2 on the affected platform; done means the runtime addon is found or the failure is reported with a verified resolution.

Written by the indexing model from the issue text.

Description

ai-analyzed ai-generated bug error-telemetry recent-regression stable-anomaly

Error Message

unhandlederror-Native addon "runtime" not found for linuxmusl-x64. Tried:   <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/prebuilds/linuxmusl-x64/runtime.node: Cannot find module '<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/prebuilds/linuxmusl-x64/runtime.node' Require stack: - <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js   <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/runtime.linux-x64-musl.node: Cannot find module '<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/runtime.linux-x64-musl.node' Require stack: - <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js   <REDACTED: user-file-path>/node_modules/@github/copilot/prebuilds/linuxmusl-x64/runtime.node: Cannot find module '<REDACTED: user-file-path>/node_modules/@github/copilot/prebuilds/linuxmusl-x64/runtime.node' Require stack: - <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js   <REDACTED: user-file-path>/node_modules/@github/copilot/runtime.linux-x64-musl.node: Cannot find module '<REDACTED: user-file-path>/node_modules/@github/copilot/runtime.linux-x64-musl.node' Require stack: - <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js   <REDACTED: user-file-path>/node_modules/@github/runtime/prebuilds/linuxmusl-x64/runtime.node: Cannot find module '<REDACTED: user-file-path>/node_modules/@github/runtime/prebuilds/linuxmusl-x64/runtime.node' Require stack: - <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js   <REDACTED: user-file-path>/node_modules/@github/runtime/runtime.linux-x64-musl.node: Cannot find module '<REDACTED: user-file-path>/node_modules/@github/runtime/runtime.linux-x64-musl.node' Require stack: - <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js

Stack Trace

⚠️ Stack not deminified — no frames could be mapped to original source. The frames below are minified; line/column numbers refer to the bundled JavaScript, not the original TypeScript source. To deminify, either re-run the create_issue MCP tool with the VS Code build commit hash (and, for extension errors, the extension id + version), or call the standalone deminify_stack MCP tool.

Error: Native addon "runtime" not found for linuxmusl-x64. Tried:   <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/prebuilds/linuxmusl-x64/runtime.node: Cannot find module '<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/prebuilds/linuxmusl-x64/runtime.node' Require stack: - <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js   <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/runtime.linux-x64-musl.node: Cannot find module '<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/runtime.linux-x64-musl.node' Require stack: - <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js   <REDACTED: user-file-path>/node_modules/@github/copilot/prebuilds/linuxmusl-x64/runtime.node: Cannot find module '<REDACTED: user-file-path>/node_modules/@github/copilot/prebuilds/linuxmusl-x64/runtime.node' Require stack: - <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js   <REDACTED: user-file-path>/node_modules/@github/copilot/runtime.linux-x64-musl.node: Cannot find module '<REDACTED: user-file-path>/node_modules/@github/copilot/runtime.linux-x64-musl.node' Require stack: - <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js   <REDACTED: user-file-path>/node_modules/@github/runtime/prebuilds/linuxmusl-x64/runtime.node: Cannot find module '<REDACTED: user-file-path>/node_modules/@github/runtime/prebuilds/linuxmusl-x64/runtime.node' Require stack: - <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js   <REDACTED: user-file-path>/node_modules/@github/runtime/runtime.linux-x64-musl.node: Cannot find module '<REDACTED: user-file-path>/node_modules/@github/runtime/runtime.linux-x64-musl.node' Require stack: - <REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js 	at tTe (<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js:61:10) 	at Jqt (<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js:62:580) 	at j4 (<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js:62:770) 	at Object.get (<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js:62:856) 	at t_e (<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js:248:5746) 	at t7e.resolveFlags (<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js:248:15534) 	at t7e.createExpAssignmentState (<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js:248:13179) 	at new r_e (<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js:248:12567) 	at new t7e (<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js:248:15775) 	at Bzs (<REDACTED: user-file-path>/node_modules/@github/copilot/sdk/index.js:248:10762) 	at bi.executor (<REDACTED: user-file-path>:2592:14793) 	at process.processTicksAndRejections (node:<REDACTED: user-file-path>:104:5) 	at async xW._getAllSessions (<REDACTED: user-file-path>:2592:19301) 	at async Xle.provideChatSessionItems (<REDACTED: user-file-path>:2886:2369) 	at async Object.refreshHandler (<REDACTED: user-file-path>:562:35318) 	at async Th.$refreshChatSessionItems (<REDACTED: user-file-path>:562:47366)

Details

Property Value
Bucket ID edaff933-169c-a77c-a9f7-0f08bdc7cd4d
Version 1.124.2
Commit 6928394f
Last Seen Mon Jun 15 2026 23:57:59 GMT+0000 (Coordinated Universal Time)
Platforms Mac, Windows, Linux, Web
Product VSCode

This issue was automatically created from the VS Code Errors Dashboard

Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

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.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.