drizzle-kit generate:pg throws ERR_INVALID_RETURN_PROPERTY_VALUE
I have my
drizzle.config.ts
file unchanged (besides adding driver
) from before the recent update (see below), but after updating to latest I am getting an error: TypeError [ERR_INVALID_RETURN_PROPERTY_VALUE]: Expected a url string to be returned for the "url" from the "drizzle-kit/loader.mjs 'resolve'" function but got instance of String.
8 Replies
Reverted to the previous versions of all drizzle packages with the same config (without
driver
) and it worked fine, let me know if you ned any of my schema or migration info.Known issue
GitHub
[BUG]:Drizzle-Kit 0.19.0 Fails to Generate Migrations · Issue #781 ...
What version of drizzle-orm are you using? 0.27.0 What version of drizzle-kit are you using? 0.19.0 Describe the Bug I was using Drizzle Kit version of 0.18.1 and generating migrations with this co...
Does that happen on Windows?
Happens to me on Windows 11
Yeah, then it’s 100% Windows only
We are working on a fix
Will ping you here
same issue on windows 10
same issue, windows 10, try Linux/WSL