Skip to content

Not able to open opencode #1452

Closed
Closed

Description

@SyedMuzamilM

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

Activity

  1. onlyargon commented on Jul 31, 2025

    @onlyargon

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

  2. kamilchm commented on Jul 31, 2025

    @kamilchm

    Same here:

    $ opencode 
    error: Cannot find module '/$bunfs/root/../tree-sitter-zw03zjvh.node' from '/$bunfs/root/opencode'
    
    Bun v1.2.17 (Linux x64 baseline)
  3. SyedMuzamilM commented on Jul 31, 2025

    @SyedMuzamilM
    Author

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

  4. SyedMuzamilM commented on Jul 31, 2025

    @SyedMuzamilM
    Author

    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

  5. thdxr commented on Jul 31, 2025

    @thdxr
    Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions