voglerr
voglerr
DTDrizzle Team
Created by voglerr on 1/21/2025 in #help
drizzle-orm/libsql 'file:' does not work with Next.js
Now it fails with 'Error: The edge runtime does not support Node.js 'path' module. Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime' since I wanted to use the local sqlite db for https://authjs.dev...
4 replies
DTDrizzle Team
Created by voglerr on 1/21/2025 in #help
drizzle-orm/libsql 'file:' does not work with Next.js
Ok, the issue was that I still had 'file:' in the URL which is fine for libsql but not for better-sqlite3.
4 replies
DTDrizzle Team
Created by voglerr on 1/21/2025 in #help
drizzle-orm/libsql 'file:' does not work with Next.js
The example using better-sqlite3 also doesn't work since it does not find any tables (although they exist).
4 replies