Drizzle-kit hangs after push or studio

So after executing drizzle push or studio, it hangs after "Reading config file"

Yesterday was working, and I did not change my drizzle config file, the only thing i did in between was I changed my docker compose config to persist data, yesterday it wasnt, and today I restarted docker so it deleted the db because the new docker config wasnt loaded yet, but the database is online and working well

Normally for example using studio, it would show after the reading config file this
Using 'postgres' driver for database querying
and then the drizzle studei beta warning and would launch it

Im using
"drizzle-kit": "^0.24.2"
"drizzle-orm": "^0.33.0"

My config file

import { defineConfig } from 'drizzle-kit';
if (!process.env.DATABASE_URL) throw new Error('DATABASE_URL is not set');

export default defineConfig({
    schema: './src/lib/server/db/schema.ts',

    dbCredentials: {
        url: process.env.DATABASE_URL
    },

    verbose: true,
    strict: true,
    dialect: 'postgresql'
});
Screenshot_2024-08-27_at_19.11.21.png
Was this page helpful?