Studio error

Hi, i'm trying Studio with my pgsql setup but when i run
pnpm drizzle-kit studio
i get this error message :
Cannot find package 'pg' imported from /home/user/dev/project/node_modules/drizzle-orm/node-postgres/index.mjs

using {"node":"v18.12.1","pnpm":"8.6.9"}

and the tsconfig generated by nuxt :
"forceConsistentCasingInFileNames": true,
    "jsx": "preserve",
    "target": "ESNext",
    "module": "ESNext",
    "moduleResolution": "bundler",
    "skipLibCheck": true,
    "strict": true,
    "allowJs": true,
    "baseUrl": "/home/user/dev/project",
    "noEmit": true,
    "resolveJsonModule": true,
    "allowSyntheticDefaultImports": true,
Was this page helpful?