You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ERR_MODULE_NOT_FOUND: vscode-jsonrpc/node on Node.js v25.6.1 (squad init) #319
Running squad init on Node.js v25.6.1 (via nvm4w) crashes with:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '...squad-cli\node_modules\vscode-jsonrpc\node'
imported from '...squad-cli\node_modules\@github\copilot-sdk\dist\session.js'
Did you mean to import "vscode-jsonrpc/node.js"?
Environment
OS: Windows 11
Node.js: v25.6.1 (nvm4w)
npm: 11.9.0
squad-cli: 0.8.18 (globally installed)
Root Cause
Node 25 enforces strict ESM resolution requiring .js extensions on imports. @github/copilot-sdk imports vscode-jsonrpc/node without the .js suffix.
Notes
v0.8.23 release notes mention a fix for this on Node 24+ (lazy copilot-sdk imports + postinstall patch script). The installed version (0.8.18) predates that fix.
It would be good to confirm the fix in v0.8.25 also covers Node 25.x — the release notes only reference Node 24+.
Workaround: downgrade to Node 22 LTS.
Steps to Reproduce
nvm install 25 / nvm use 25
npm install -g @bradygaster/squad-cli@0.8.18
squad init
Expected
squad init should work or print a clear minimum-Node-version error.
Activity
uvirk commentedon Mar 9, 2026
Closing — the root cause is the migration docs pinning v0.8.18. Filing a separate docs-update issue instead.
fix: harden adapter layer - event mapping, typed casts, dead code (gi…