Can't generate migrations because of top level await

This only recently started happening.Here is my drizzle.config.json :
{
  "out": "./migrations",
  "schema": "./src/**/*.sql.ts"
}

I know this is probs due to drizzle not fully supporting esm. However I don't understand why async/await is occuring assuming generation happens locally. It doesn't even need to connect to the server, correct?
image.png
Was this page helpful?