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});


Help and suggestion appreciated.
image.png
Was this page helpful?