© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago•
4 replies
Startup Spells 🪄 Newsletter Guy

Drizzle Kit Push & Generate gives weird error

I get the following error:

{
      detail: undefined,
      id: '',
      location: [Object],
      notes: [],
      pluginName: '',
      text: 'Transforming destructuring to the configured target environment ("es5") is not supported yet'
    }
{
      detail: undefined,
      id: '',
      location: [Object],
      notes: [],
      pluginName: '',
      text: 'Transforming destructuring to the configured target environment ("es5") is not supported yet'
    }


the full code is here -> https://github.com/deadcoder0904/next-13-lucia-auth-drizzle-turso-sqlite-magic-link/tree/main

pnpm db:push
pnpm db:push
&
pnpm db:generate
pnpm db:generate
don't work for some reason.
GitHub
GitHub - deadcoder0904/next-13-lucia-auth-drizzle-turso-sqlite-magi...
Simple Demo of Lucia Auth using Drizzle ORM, Turso Tech (SQLite) & Resend (Transactional Emails) to make Magic Link Authentication work - GitHub - deadcoder0904/next-13-lucia-auth-drizzle-t...
GitHub - deadcoder0904/next-13-lucia-auth-drizzle-turso-sqlite-magi...
Solution
This fix seemed to work

//tsconfig.json
{
  "compilerOptions": {
  ...
  // Solution is to update es5 to ES2015
  "target": "es5",
  }
}
//tsconfig.json
{
  "compilerOptions": {
  ...
  // Solution is to update es5 to ES2015
  "target": "es5",
  }
}


"target": "ES2015",
"target": "ES2015",
Jump to solution
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Drizzle kit generate gives error after upgrade
Drizzle TeamDTDrizzle Team / help
3y ago
drizzle-kit push error
Drizzle TeamDTDrizzle Team / help
2y ago
drizzle-kit generate error
Drizzle TeamDTDrizzle Team / help
8mo ago
drizzle-kit push
Drizzle TeamDTDrizzle Team / help
5mo ago