[Solved] Transforming const to the configured target environment ("es5") is not supported yet
So I had a old project, and I copied the
DATABASE_URL
and on created a basic drizzle project and drizzle.config.ts
I got a schema created.
Now, I copied the schema.ts
file and pasted it into my new (second/another) project. I ran npx drizzle-kit generate:pg
but I got the error Transforming const to the configured target environment ("es5") is not supported yet
55 times (55 is the number of tables that I have) 🥹
PLS HELP1 Reply
Okay, So it was the
tsconfig.json
issue:
I have to change the target, previously it was "es5" idk why