You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting. I'm a bit confused why [email protected] was installed instead of [email protected] (or whatever the pre-existing installed version of kysely was) because the ponder package.json specifies "kysely": "^0.26.3". The updated minor should be acceptable.
I'm finding this tricky to reproduce and debug, so lmk if you have any suggestions for 1) a minimal reproduction or 2) how we can fix it on our end.
I don't think this will solve the 2nd issue (client type resolution), but I just opened a PR to remove the kysely-pglite dep which will eliminate the 1st issue (pnpm install warning).
(see no warning but it leads to problems with new SQL client integration)
To fix this I think it's better not to list kysely as a dependency but as peerDependency or no dependency at all because it still will be requested by drizzle-orm (as a transient dependency). And to prevent problems while development list it as devDependency in your package.
Version
0.9.1
Current behavior
Hi! I'm facing the issue with package peer dependency resolution:
which is different from what is needed in order to match the peer dependency of [email protected]
here's warn from
pnpm install
about this:I found this bug because my pnpm lock file was relying on two different versions of kysele:
And it was leading to wrong type resolutions for the new SQL client:
In the path of type resolutions you can see there's different versions of kysely being resoled that leads to a problem.
Temp solution:
resolutions
field in package.json of your root package.json with "kysely": "^0.27.5"Expected behavior
No response
Steps to reproduce
No response
Link to repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: