Error on Vercel with drizzle
I have everything setup and working locally with my new remix application which uses drizzle. However, when I deploy to vercel as soon as I try to login I get the following error when I reach the part where my code calls
db.select()
...
Has anyone seen this or could point me in the right direction.![No description](https://cdn.answeroverflow.com/1122625561622237225/Screenshot_2023-06-25_at_4.32.58_PM.png)
4 Replies
seems like some vercel postgres api changes
we need to update drizzle to use latest changes
It is planetscale I am / was trying to connect to. I was using the databasejs way
Thanks for the resonse
how do we fix this, we are in the same setup. Remix, Planetscale(mysql), Vercel. We migrated away from prisma and we are experiencing this in prod, but not locally.
Can we get some help here?
Sorry for a late response, finally have free time to answer all questions in Discord
https://discord.com/channels/1043890932593987624/1101108758127591435/1139240309939777719
Could you please make a GH issue for that, if its still an issue for you. That would help a lot to track this one