Cannot git push in opencode repo #696

Closed
opened 2026-02-16 17:27:56 -05:00 by yindo · 0 comments
Owner

Originally created by @almirsarajcic on GitHub (Jul 14, 2025).

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.

Originally created by @almirsarajcic on GitHub (Jul 14, 2025). 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.
yindo closed this issue 2026-02-16 17:27:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#696