Skip to content

[FEATURE]: Support launching OpenCode directly with the Node.js runtime, similar to a standard Node.js backend application #10860

Closed as duplicate

Description

@narukeu

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

I am the author of Issue #10799. After posting that issue, I looked into the relevant documentation and believe that Bun still has some compatibility issues regarding specific details.

Although Bun performs well in terms of performance, its stability in complex environments (especially during low-level shell interactions, memory-intensive operations, and edge cases on non-POSIX platforms) is not yet as mature as Node.js. Currently, the single-file packaging model forces a dependency on the Bun runtime, preventing users from avoiding such low-level crashes. From a deeper perspective, I personally believe that decoupling the OpenCode application itself from a specific runtime could be more beneficial for OpenCode.

I suggest introducing a "Native Node.js Runtime" mode for OpenCode as a complement or alternative to the existing Bun mode.

If this mode is already supported, I recommend clearly documenting the setup guide in the official documentation or README to facilitate developer usage. If it is not yet supported, I suggest adding it to the development roadmap to adapt to the Node.js environment, providing users with a more mature and controllable runtime option.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Jan 27, 2026
  2. github-actions commented on Jan 27, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussiondocs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions