<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotfiles/run_onchange_after_install-copilot-node.sh, branch master</title>
<subtitle>My linux config and rc files</subtitle>
<id>https://git.sommerfeld.dev/dotfiles/atom/run_onchange_after_install-copilot-node.sh?h=master</id>
<link rel='self' href='https://git.sommerfeld.dev/dotfiles/atom/run_onchange_after_install-copilot-node.sh?h=master'/>
<link rel='alternate' type='text/html' href='https://git.sommerfeld.dev/dotfiles/'/>
<updated>2026-05-13T12:43:40Z</updated>
<entry>
<title>feat(nvim): pin copilot to Node 24 to dodge LSP/Node 26 incompat</title>
<updated>2026-05-13T12:43:40Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-05-13T12:43:40Z</published>
<link rel='alternate' type='text/html' href='https://git.sommerfeld.dev/dotfiles/commit/?id=ab8ee06cbfce42f94e07a0a694701a4df9201815'/>
<id>urn:sha1:ab8ee06cbfce42f94e07a0a694701a4df9201815</id>
<content type='text'>
copilot-language-server emits 'HTTP 200 response does not appear to
originate from GitHub' under Node 26 (the current Arch nodejs). Upstream
tracking:
  https://github.com/zbirenbaum/copilot.lua/issues/695
  https://github.com/github/copilot.vim/issues/282
  https://github.com/github/copilot-language-server-release/issues/45

Workaround universally confirmed in those threads is to run the
language-server under Node 24. Rather than downgrade system nodejs (used
by lots of other tooling) install a private Node 24 under
~/.local/share/copilot-node/ via a chezmoi run_onchange script that
verifies the official sha256, and point copilot.lua at it via
copilot_node_command. Drop in once, bump NODE_VERSION when the upstream
incompatibility is resolved.
</content>
</entry>
</feed>
