Deno + libSQL

I need help. I am getting Uncaught (in promise) TypeError: LoadLibraryExW failed (attached screenshot) on running the compiled version (executable) with Using drizzle w/ all permission enabled (-A) Using this on Deno v2.2.8 NOTE: On dev mode, it works fine! Here is the main code,
import { createClient } from "npm:@libsql/client/node";
import { drizzle } from "npm:drizzle-orm/libsql";
import * as schema from "./schema.ts";

const dbUrl = "file:local.db";

const client = createClient({
url: dbUrl,
});

export const sqliteDB = drizzle(client, {schema});
import { createClient } from "npm:@libsql/client/node";
import { drizzle } from "npm:drizzle-orm/libsql";
import * as schema from "./schema.ts";

const dbUrl = "file:local.db";

const client = createClient({
url: dbUrl,
});

export const sqliteDB = drizzle(client, {schema});
Help and suggestion appreciated.
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?