Skip to content

Cannot find module '@opencode-ai/sdk' on clean repo clone when running bun run packages/opencode/src/index after bun install #1579

@jordyvandomselaar

Description

@jordyvandomselaar

I've cloned the repository because I'd like to contribute. Following the readme, I ran

  1. bun install
  2. bun run packages/opencode/src/index

Unfortunately this throws the following error:

error: Cannot find module '@opencode-ai/sdk' from '/Volumes/workspaceCS/personal/opencode/packages/opencode/src/plugin/index.ts'

Which is odd because I can hyper click on "@opencode-ai/sdk" and it jumps to it just fine.

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