mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[GH-ISSUE #29] index.ts missing from @opentui/core-darwin-arm64/ #776
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#776
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @logno-dev on GitHub (Aug 15, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/29
Environment
• OS: macOS (Darwin arm64)
• Bun Version: 1.2.19
• Package: @opentui/core v0.1.2
• Platform: darwin-arm64
Issue Description
When attempting to run examples in the OpenTUI project, the following error occurs:
error: Cannot find module '@opentui/core-darwin-arm64/index.ts' from 'packages/core/src/zig.ts'Root Cause Analysis
The issue is in src/zig.ts:8 where the code attempts to dynamically import a platform-specific module:
For macOS arm64, this resolves to @opentui/core-darwin-arm64/index.ts, but:
Reproduction Steps
bun run src/examples/index.ts@kommander commented on GitHub (Aug 15, 2025):
The file is definitely in the package. For some reason it downloads v0.1.1 for the optional dependencies. Optional dependencies are specified as
latest, giving it an explicit version works. I'll use explicit versions and publish again.@kommander commented on GitHub (Aug 15, 2025):
@logno-dev should be fixed now?
@logno-dev commented on GitHub (Aug 17, 2025):
Yes, it works now. Thank you!
@ErikDombi commented on GitHub (Sep 29, 2025):
I am experiencing a similar issue, but with
@opentui/core-linux-x64/index.tson WSL2. Should I open a new issue for this?Bun.fileusages withnode:fs#1555