node-sqlite
node-sqlite copied to clipboard
node_modules/sqlite/build/index.mjs (3:9): "Database" is not exported by "node_modules/sqlite/build/Database.js", imported by "node_modules/sqlite/build/index.mjs"
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch [email protected] for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/sqlite/build/index.mjs b/node_modules/sqlite/build/index.mjs
index 8036ae1..f179b1c 100644
--- a/node_modules/sqlite/build/index.mjs
+++ b/node_modules/sqlite/build/index.mjs
@@ -1,6 +1,6 @@
export * from "./Statement.js";
export * from "./Database.js";
-import Database from "./Database.js";
+import { Database } from "./Database.js";
/**
* Opens a database for manipulation. Most users will call this to get started.
This issue body was partially generated by patch-package.