Not able to open opencode #1003

Closed
opened 2026-02-16 17:29:04 -05:00 by yindo · 5 comments
Owner

Originally created by @SyedMuzamilM on GitHub (Jul 31, 2025).

error: Cannot find module '/$bunfs/root/../tree-sitter-htesyypn.node' from '/$bunfs/root/opencode'

This is the error I am getting when I try to run opencode I don't know what happened I only added the variables in my ~/.zshrc

Originally created by @SyedMuzamilM on GitHub (Jul 31, 2025). `error: Cannot find module '/$bunfs/root/../tree-sitter-htesyypn.node' from '/$bunfs/root/opencode'` This is the error I am getting when I try to run `opencode` I don't know what happened I only added the variables in my ~/.zshrc
yindo closed this issue 2026-02-16 17:29:04 -05:00
Author
Owner

@onlyargon commented on GitHub (Jul 31, 2025):

can confirm. with latest version, getting this error and cannot open

@onlyargon commented on GitHub (Jul 31, 2025): can confirm. with latest version, getting this error and cannot open
Author
Owner

@kamilchm commented on GitHub (Jul 31, 2025):

Same here:

$ opencode 
error: Cannot find module '/$bunfs/root/../tree-sitter-zw03zjvh.node' from '/$bunfs/root/opencode'

Bun v1.2.17 (Linux x64 baseline)
@kamilchm commented on GitHub (Jul 31, 2025): Same here: ```sh $ opencode error: Cannot find module '/$bunfs/root/../tree-sitter-zw03zjvh.node' from '/$bunfs/root/opencode' Bun v1.2.17 (Linux x64 baseline) ```
Author
Owner

@SyedMuzamilM commented on GitHub (Jul 31, 2025):

I fixed the issue. I am using the latest version though

@SyedMuzamilM commented on GitHub (Jul 31, 2025): I fixed the issue. I am using the latest version though
Author
Owner

@SyedMuzamilM commented on GitHub (Jul 31, 2025):

So this is how I fixed it
I deleted the opencode directory under users

rm -rf /Users/yourusername/.opencode and it started working again. I think for some reason this might not have updated or something

@SyedMuzamilM commented on GitHub (Jul 31, 2025): So this is how I fixed it I deleted the opencode directory under users `rm -rf /Users/yourusername/.opencode` and it started working again. I think for some reason this might not have updated or something
Author
Owner

@thdxr commented on GitHub (Jul 31, 2025):

unpublished the broken version will be fixed in 0.3.90 - sorry for that will have to manually update

@thdxr commented on GitHub (Jul 31, 2025): unpublished the broken version will be fixed in 0.3.90 - sorry for that will have to manually update
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1003