DenoDDeno
Powered by
realChakrawartiR
Denoβ€’12mo agoβ€’
4 replies
realChakrawarti

Deno compile: LoadLibraryExW failed

Hi fellow Deno + Turso devs,

I need help. I am getting
Uncaught (in promise) TypeError: LoadLibraryExW failed
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.
image.png
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

deno compile optimizations
subbedSsubbed / help
14mo ago
deno compile error
AuxyAAuxy / help
16mo ago
Deno compile optimization
mallquestMmallquest / help
3y ago