[GH-ISSUE #79] Solid Package dependency Error #786

Closed
opened 2026-03-14 08:33:31 +03:00 by kerem · 3 comments
Owner

Originally created by @InvalidJoker on GitHub (Aug 25, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/79

Originally assigned to: @Adictya, @fezproof on GitHub.

Issue

When I import the solid package in a new project, it says I'm missing the Babel dependencies. I think they shouldn't be included.

Solution

Exclude the dev scripts which use babel from the build

Originally created by @InvalidJoker on GitHub (Aug 25, 2025). Original GitHub issue: https://github.com/anomalyco/opentui/issues/79 Originally assigned to: @Adictya, @fezproof on GitHub. ## Issue When I import the solid package in a new project, it says I'm missing the Babel dependencies. I think they shouldn't be included. ## Solution Exclude the dev scripts which use babel from the build
kerem 2026-03-14 08:33:31 +03:00
Author
Owner

@Adictya commented on GitHub (Aug 26, 2025):

I agree conventionally these live in user space, we can have a better experience once we have a create-opentui-app package setup and all this can go there. Till then I think having these in makes it easier to try it out, because babel deps would have to be installed to run the TUI anyway.

Ill shift it out from devDependencies to dependencies so they install automatically.

<!-- gh-comment-id:3222392647 --> @Adictya commented on GitHub (Aug 26, 2025): I agree conventionally these live in user space, we can have a better experience once we have a create-opentui-app package setup and all this can go there. Till then I think having these in makes it easier to try it out, because babel deps would have to be installed to run the TUI anyway. Ill shift it out from devDependencies to dependencies so they install automatically.
Author
Owner

@kommander commented on GitHub (Aug 26, 2025):

I think it's fine to just keep them as dependencies. When building a single file executable the bundler will take care of stripping to only what is needed.

<!-- gh-comment-id:3223034804 --> @kommander commented on GitHub (Aug 26, 2025): I think it's fine to just keep them as dependencies. When building a single file executable the bundler will take care of stripping to only what is needed.
Author
Owner

@Adictya commented on GitHub (Aug 26, 2025):

Makes sense. The dependencies shouldn't be a problem now. Closing

<!-- gh-comment-id:3223964781 --> @Adictya commented on GitHub (Aug 26, 2025): Makes sense. The dependencies shouldn't be a problem now. Closing
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#786
No description provided.