Unable to setup supabase with drizzle

Using this https://orm.drizzle.team/learn/tutorials/drizzle-with-supabase#setup-supabase-and-drizzle-orm to setup supabase but always getting errors on migration and studio scripts. I'm using pnpm and have setup my .env.local variables. Drizzle version:
drizzle-kit: v0.21.2 
drizzle-orm: v0.30.10
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
Was this page helpful?