copilot.vim icon indicating copy to clipboard operation
copilot.vim copied to clipboard

v1.57.0 stopped working on older linux

Open difro opened this issue 3 months ago • 1 comments

This is recurrence of issue https://github.com/github/copilot.vim/issues/67

Same behavior, copilot exits with following logs (with path redacted)


[ERROR][2025-12-10 18:31:10] ...p/_transport.lua:36     "rpc"   "node"  "stderr"        "Error: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/.../.local/share/nvim/lazy/copilot.vim/copilot-language-server/dist/compiled/linux/x64/vscode-policy-watcher.node)\n

I've tested up until v1.56.0 which works fine. Pinning it to v1.56.0 for now.

difro avatar Dec 10 '25 09:12 difro

Hmm, actually vscode-policy-watcher doesn't support OSes other than macOS and windows, see code: https://github.com/microsoft/vscode-policy-watcher/blob/43e7579fe26133cec9961d32a1e269f043aa3830/src/main.cc#L25C1-L27C7

So as a work around available today: grab a temp folder, and then run npm install @vscode/[email protected] it will build the node addon file locally. If succeeded, you can find it in ./node_modules/@vscode/policy-watcher/build/Release/vscode-policy-watcher.node, then you can try replace the file in path /home/.../.local/share/nvim/lazy/copilot.vim/copilot-language-server/dist/compiled/linux/x64/vscode-policy-watcher.node

Meanwhile, we can check if we can remove it for dry-run platforms.

jiec-msft avatar Dec 11 '25 01:12 jiec-msft