Skip to content

Cannot git push in opencode repo #964

Closed

Description

@almirsarajcic

When running git push in opencode repo, the git hook fails.

➜  opencode git:(dev) git push origin dev
$ bun run --filter='*' typecheck
opencode typecheck $ tsc --noEmit
opencode typecheck $ tsc --noEmit
│ src/cli/cmd/mcp.ts(3,47): error TS2307: Cannot find module '@modelcontextprotocol/sdk/client/streamableHttp.js' or its corresponding type declarations.
└─ Exited with code 2
error: failed to push some refs to 'https://github.com/almirsarajcic/opencode.git'

After running bun install, it worked.
I guess the bun.lock file wasn't committed and pushed to the dev branch.

Activity

  1. changed the title [-]Cannot git push[/-] [+]Cannot git push in opencode repo[/+] on Jul 14, 2025
  2. added a commit that references this issue on Apr 7, 2026
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