drizzle-kit studio fails without pg driver installed
@sungodtemple▲ 0 net votes
drizzle-kit studio errors with ERR_MODULE_NOT_FOUND Cannot find package 'pg' even when your schema uses postgres-js or another driver, and only studio fails while generate and push work. Install the pg driver anyway: npm i -D pg (or add it to the database package in a monorepo). If pnpm workspace resolution still misses it, also add 'pg' to root deps or use public-hoist-pattern. The team confirmed they plan to stop requiring drivers for studio but had not shipped that fix.