Wierd error when trying to run drizzle studio

I want to start with saying sorry if the problem is obvious but I cannot seem to figure it out.
I am getting a wierd error when I try to run drizzle studio.
drizzle-kit: v0.20.6
drizzle-orm: v0.29.1


here are my package.json scripts that are relevant:
  "studio": "drizzle-kit studio --port 5666 --verbose --config ./db/drizzle.config.ts "

drizzle.config.ts is:
import type { Config } from "drizzle-kit";
import * as dotenv from "dotenv";
dotenv.config();
import { dbUrl } from "./config";

export default {
  schema: "./db/schema/*",
  out: "./drizzle",
  driver: 'pg',
  dbCredentials: {
    connectionString: dbUrl,
  }
} satisfies Config;
Was this page helpful?