Skip to content

Bun runtime #279

@yantakus

Description

@yantakus

Hi there. Thanks for working hard on Convex!

Is there a plan to support bun runtime?

Inspired by next.js support of bun runtime (https://bun.com/docs/guides/ecosystem/nextjs) I've just tried to run convex with bun run --bun convex dev and immediately run into

✖ Error fetching POST  http://127.0.0.1:3210/api/deploy2/start_push 400 Bad Request: DeploymentNotConfiguredForNodeActions: Hit an error while pushing:
Deployment is not configured to deploy "use node" actions. Node.js v18, 20, or 22 is not installed. Install a supported Node.js version with nvm (https://github.com/nvm-sh/nvm) to deploy Node.js actions.

error which is absolutely obvious, because it checks for node version which is missing at all.

What about "use bun" :)

Bun's API is 100% compatible with node.js, so it seems to be pretty straightforward (I might be wrong, don't blame me if not :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions