Getting Error on Netlify Edge Functions (SvelteKit)
I recently migrated to Better Auth It works fine on node environment (on netlify) but It gives error on Netlify Edge Functions
The error basically seems to be related to unavailability of
Buffer
.
Could it be possible to pollyfills it in some way or so (just wondering)
1 Reply
Update: The problem is resolved after adding this to
hooks,server.ts
.