copilot.lua
copilot.lua copied to clipboard
@vscode/policy-watcher breaking copilot.lua on android
Copilot.lua used to work on android but the last working commit was 92e08cd472653beaece28ad9c8508a851a613358. Anything after that commit results in the following lsp errors:
[ERROR][2025-10-24 23:31:02] ...p/_transport.lua:36 "rpc" "node" "stderr" "Error: Could not locate the bindings file. Tried:
→ /data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/js/build/vscode-policy-watcher.node
→ /data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/js/build/Debug/vscode-policy-watcher.node
→ /data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/js/build/Release/vscode-policy-watcher.node
→ /data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/js/out/Debug/vscode-policy-watcher.node
→ /data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/js/Debug/vscode-policy-watcher.node
→ /data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/js/out/Release/vscode-policy-watcher.node
→ /data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/js/Release/vscode-policy-watcher.node
→ /data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/js/build/default/vscode-policy-watcher.node
→ /data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/js/compiled/24.9.0/android/arm64/vscode-policy-watcher.node
→ /data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/js/compiled/android/arm64/vscode-policy-watcher.node
at bindings (/data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/node_modules/bindings/bindings.js:119:9)
at /data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/node_modules/@vscode/policy-watcher/index.js:6:25
at /data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/js/main.js:1:398
at Object.<anonymous> (/data/data/com.termux/files/home/.local/share/nvim/lazy/copilot.lua/copilot/agent/src/groupPolicyWatcher.ts:3:53)
at Module._compile (node:internal/modules/cjs/loader:1760:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1893:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)"
This is unfortunately on the LSP side. You could try opening an issue on their repo: https://github.com/github/copilot-language-server-release/
Otherwise you could use the last working binary and set it up to use that specific version.
sadly it seems it doesn't work anymore .... YET !