[PR #3257] [opentui] fix: dev script cannot find jsx import source #10583

Closed
opened 2026-02-16 18:15:16 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/3257

State: closed
Merged: Yes


 ❯ bun run dev
$ bun run packages/opencode/src/index.ts
error: Cannot find module 'react/jsx-dev-runtime' from '/home/geril/code/oss/opencode/packages/opencode/src/cli/cmd/tui/app.tsx'

Bun v1.3.0 (Linux x64)
error: script "dev" exited with code 1

problema: bun can’t resolve JSX when running from the root dir

bun run --cwd packages/opencode dev also seems fine and is better ig

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/3257 **State:** closed **Merged:** Yes --- ```bash ❯ bun run dev $ bun run packages/opencode/src/index.ts error: Cannot find module 'react/jsx-dev-runtime' from '/home/geril/code/oss/opencode/packages/opencode/src/cli/cmd/tui/app.tsx' Bun v1.3.0 (Linux x64) error: script "dev" exited with code 1 ``` problema: bun can’t resolve JSX when running from the root dir `bun run --cwd packages/opencode dev` also seems fine and is better ig
yindo added the pull-request label 2026-02-16 18:15:16 -05:00
yindo closed this issue 2026-02-16 18:15:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10583