DT
Drizzle Teamโ€ข2y ago
backo

Been getting this error while using the libsql client. The code works though. Any ideas. Thanks! ๐Ÿ™‚

I get the error from the screenshot every time I access my db client, but the code works fine though. How can I get rid of the error? ๐Ÿ™‚
10 Replies
Dan
Danโ€ข2y ago
Seems like an issue with libSQL. @Turso can you help?
glauber.costa
glauber.costaโ€ข2y ago
are you on Windows ? I will be glad to try to reproduce, nothing comes to mind top of my head ๐Ÿ˜ฆ
backo
backoOPโ€ข2y ago
yeah, windows :/ Are you on windows too? I could create a minimal repo for you. If I could disable the log somehow, that would be helpful too! ๐Ÿ˜„ I mean the code works, but I'm getting spammed.
backo
backoOPโ€ข2y ago
Solved it by changing the webpack configuration in my nextjs config. If anyone needs it. https://github.com/netlify/netlify-lambda/issues/179#issuecomment-1450473343
GitHub
Can't resolve 'bufferutil' and 'utf-8-validate' ยท Issue #179 ยท netl...
on netlify-lambda build WARNING in /home/nicky/projects/jason-api/node_modules/subscriptions-transport-ws/node_modules/ws/lib/buffer-util.js not found: Error: Can't resolve 'bufferutil'...
glauber.costa
glauber.costaโ€ข2y ago
I am not on Windows but I couls find some of our ppl who are :p so this is not a libsql issue?
backo
backoOPโ€ข2y ago
i guess not really, it's just that libsql was referencing the packages causing the issue. ๐Ÿ˜„ big thanks though!
glauber.costa
glauber.costaโ€ข2y ago
awesome! Let us know if you run into further issues, and great choice of ORM, btw!
backo
backoOPโ€ข2y ago
Thanks! Need to rewire my brain after using prisma ๐Ÿ™‚ and great job on Turso. Been toying around with it and it works great ๐Ÿ™‚
Pekka Enberg
Pekka Enbergโ€ข2y ago
Hey @cp I opened https://github.com/libsql/libsql-client-ts/issues/33 for tracking. Will look into if we can fix it in the package itself.
GitHub
Can't resolve 'utf-8-validation' on Windows ยท Issue #33 ยท libsql/li...
Someone on Drizzle Discord reported the following error: https://cdn.discordapp.com/attachments/1103436143875334244/1103436144026325072/image.png The workaround the reported gave was: netlify/netli...
Pekka Enberg
Pekka Enbergโ€ข2y ago
Thanks for reporting!
Want results from more Discord servers?
Add your server