Skip to content

Running opencode without Node installed results in an error #11318

@TomasHubelbauer

Description

@TomasHubelbauer

Description

I use the Bun install method for OpenCode and my server only has the Bun runtime, not Node. When I run opencode after installing it with Bun, I get this error:

> bun add -g opencode-ai
> opencode
bun add -g opencode-ai

Can OpenCode be run with Bun? Except for bunx opencode I mean.

Plugins

No response

OpenCode version

1.1.44

Steps to reproduce

> bun add -g opencode-ai
> opencode
bun add -g opencode-ai

Do not have node in the env

Screenshot and/or share link

No response

Operating System

macOS

Terminal

macOS Terminal

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions