Skip to content

rivetkit/agent-os fails on Bun: No such built-in module: node:sqlite #1456

@turisanapo

Description

@turisanapo

Calling agentOs() on Bun fails with a missing node:sqlite module error.

Steps to reproduce

import { agentOs } from "rivetkit/agent-os";

const vm = agentOs({});
bun index.ts

Expected

No error

Observed

error: No such built-in module: node:sqlite

Environment

  • rivetkit 2.2.1
  • Bun 1.3.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions