anomalyco / anomalyco/opencode
npm install -g @opencode-ai/cli@next on WSL2 incorrect.
@Hona is already working on this.
Since Jul 31, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
npm error code 1
npm error path /home/julian/.nvm/versions/node/v24.12.0/lib/node_modules/@opencode-ai/cli
npm error command failed
npm error command sh -c node ./postinstall.mjs
npm error npm error code ETARGET
npm error npm error notarget No matching version found for @opencode-ai/cli-linux-x64@0.0.0-next-16570.
npm error npm error notarget In most cases you or one of your dependencies are requesting
npm error npm error notarget a package version that doesn't exist.
npm error npm error A complete log of this run can be found in: /home/julian/.npm/_logs/2026-07-31T03_53_17_998Z-debug-0.log
npm error npm error code ETARGET
npm error npm error notarget No matching version found for @opencode-ai/cli-linux-x64-baseline@0.0.0-next-16570.
npm error npm error notarget In most cases you or one of your dependencies are requesting
npm error npm error notarget a package version that doesn't exist.
npm error npm error A complete log of this run can be found in: /home/julian/.npm/_logs/2026-07-31T03_53_18_211Z-debug-0.log
npm error npm error code ETARGET
npm error npm error notarget No matching version found for @opencode-ai/cli-linux-x64-musl@0.0.0-next-16570.
npm error npm error notarget In most cases you or one of your dependencies are requesting
npm error npm error notarget a package version that doesn't exist.
npm error npm error A complete log of this run can be found in: /home/julian/.npm/_logs/2026-07-31T03_53_18_355Z-debug-0.log
npm error npm error code ETARGET
npm error npm error notarget No matching version found for @opencode-ai/cli-linux-x64-baseline-musl@0.0.0-next-16570.
npm error npm error notarget In most cases you or one of your dependencies are requesting
npm error npm error notarget a package version that doesn't exist.
npm error npm error A complete log of this run can be found in: /home/julian/.npm/_logs/2026-07-31T03_53_18_515Z-debug-0.log
npm error Failed to install OpenCode. Try manually installing "@opencode-ai/cli-linux-x64" or "@opencode-ai/cli-linux-x64-baseline" or "@opencode-ai/cli-linux-x64-musl" or "@opencode-ai/cli-linux-x64-baseline-musl".
npm error A complete log of this run can be found in: /home/julian/.npm/_logs/2026-07-31T03_53_16_451Z-debug-0.log
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.