Language Server fails to start on Android/Termux (missing native bindings)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- android, node.js
調査の方向性
まず Termux で起動失敗を再現し、dist/main.js から node_modules/@vscode/policy-watcher/index.js および bindings.js までのロードを追跡します。dist/compiled/android/arm64 での Android ARM64 の検索結果を、リンク先の fork にある preload-shim ワークアラウンドと比較します。言語サーバーがネイティブバインディングの欠落によるクラッシュなしで起動すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
The GitHub Copilot Language Server is currently unable to start in Termux on Android. The process crashes during initialization because it tries to load native bindings for @vscode/policy-watcher, which are not provided for the Android platform.
Environment
- Device: Android (ARM64)
- Environment: Termux
- Plugin Version: 1.397.0
- Node.js Version: 25.2.1
The Error
When starting the server, Node.js outputs the following error to stderr and terminates:
Error: Could not locate the bindings file. Tried:
...
→ .../dist/compiled/android/arm64/vscode-policy-watcher.node
at bindings (.../node_modules/bindings/bindings.js:119:9)
at .../node_modules/@vscode/policy-watcher/index.js:6:25
at .../dist/main.js:1:398
My Current Workaround
In my fork, I have circumvented this by using a Node.js preload shim rather than modifying the bundled dist/ files.
Suggested Long-Term Fix
A better approach would be to make the loading of native modules conditional in the language server itself.
- 主要言語
- Vim Script
- スター
- 11.7k
- フォーク
- 812
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/copilot.vim のほかの issue
-
No link to DeepWiki オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
github/copilot.vim#303 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/copilot.vim#276 · コメント 1 件 · リアクション 1 件 ·
-
Neomarley オープン
難易度 5/5 1週間以上 初心者へのやさしさ 1/100
github/copilot.vim#304 ·
-
Readme. オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 20/100
github/copilot.vim#302 · コメント 4 件 ·
-
Micky オープン
難易度 5/5 1週間以上 初心者へのやさしさ 1/100
github/copilot.vim#301 ·
github/copilot.vim の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
palladius/rails8-app-on-gcp#145 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
elastic/gradle-plugins#156 ·
-
area:workflow bug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
fil-donadoni/tolaria#4409 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
dotenvx/dotenv-vscode#139 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Fission-AI/OpenSpec#1960 ·