require is not defined in ES module scope, you can use import instead

Hi everyone!

Just wanted to know if anyone is having trouble with
drizzle-kit  v1.0 beta v3
and
nuxthub v0.10
?

When doing
pnpm nuxt db generate
it throws this error:
require is not defined in ES module scope, you can use import instead


I already checked both nuxthub and drizzle-orm repos for similar issues
Was this page helpful?