Migration fails with: "TypeError: Cannot redefine property: then" #26
Labels
actually kysely
Actually related to Kysely, not CTL.
bug
Something isn't working
cjs
CommonJS related
I created the following migration file:
And then I tried to run the migration with
npm run kysely migrate:up
but it failed with the following error message:If I remove the following code and retry the migration, it completes successfully:
In my kysely.config.ts file I have the following code:
It seems a bug to me but I'm not sure if I'm missing something else.
The text was updated successfully, but these errors were encountered: