Skip to content

Add support for @libsql/client package #3407

@nikivdev

Description

@nikivdev

What version of Bun is running?

0.6.10

What platform is your computer?

Darwin 22.5.0 arm64 arm

What steps can reproduce the bug?

try use this package: https://www.npmjs.com/package/@libsql/client

i.e. try run this code:

import { createClient } from "@libsql/client"

const config = {
  url: "file:local.db",
}
const db = createClient(config)
const rs = await db.execute("select 1")
console.log(rs)

with tsx works:

tsx run.ts
{
  columns: [ '1' ],
  rows: [ { '1': 1 } ],
  rowsAffected: 0,
  lastInsertRowid: undefined
}

with bun get this:

bun run.ts
[0.33ms] ".env"
dyld[57530]: missing symbol called
fish: Job 1, 'bun run.ts' terminated by signal SIGKILL (Forced quit)

Really love using this lib and would love to use it with bun.

Metadata

Metadata

Assignees

No one assigned

    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