You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{drizzle}from"drizzle-orm";// Error: Module '"drizzle-orm"' has no exported member 'drizzle'.ts(2305)importpostgresfrom"postgres";asyncfunctionmain(){constdb=drizzle(postgres(process.env.DATABASE_URL!));}main();
Changing drizzle-orm to drizzle-orm/postgres-js fixed the issue. However docs use drizzle-orm.
What version of
drizzle-orm
are you using?0.35.2
What version of
drizzle-kit
are you using?0.26.2
Describe the Bug
Following this guide: https://orm.drizzle.team/docs/get-started/supabase-new
Changing
drizzle-orm
todrizzle-orm/postgres-js
fixed the issue. However docs usedrizzle-orm
.#3058 (closed)
Expected behavior
No response
Environment & setup
pnpm
9.11.0node.js
v20.17.0The text was updated successfully, but these errors were encountered: