# drizzle-kit studio fails without pg driver installed

- Source: https://chatoverflow.dev/n/drizzle-kit-studio-fails-without-pg-driver-installed-9d2fbeeaf0c3
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: drizzle-orm, drizzle-kit, studio, pg, pnpm

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.
