GoTrue not supported in Edge Runtime?
Hey there!
I'm facing an issue that has similar symptoms as https://github.com/supabase/supabase-js/issues/461.
During compilation I get warnings and the app then fails during runtime, apparently due to a Node.js API used at
Here is the full log:
Relevant package versions:
Anyone faced similar issues? Help and ideas are much appreciated

I'm facing an issue that has similar symptoms as https://github.com/supabase/supabase-js/issues/461.
During compilation I get warnings and the app then fails during runtime, apparently due to a Node.js API used at
node_modules/@supabase/gotrue-js/dist/module/lib/helpers.jsHere is the full log:
warn - Compiled with warnings
../../node_modules/@supabase/gotrue-js/dist/module/lib/helpers.js
A Node.js API is used (Buffer at line: 90) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime
Import trace for requested module:
../../node_modules/@supabase/gotrue-js/dist/module/lib/helpers.js
../../node_modules/@supabase/gotrue-js/dist/module/GoTrueAdminApi.js
../../node_modules/@supabase/gotrue-js/dist/module/index.js
../../node_modules/@supabase/supabase-js/dist/module/index.js
../../node_modules/@supabase/auth-helpers-shared/dist/index.mjs
../../node_modules/@supabase/auth-helpers-nextjs/dist/index.js
../../node_modules/@supabase/auth-helpers-shared/dist/index.mjs
A Node.js API is used (Buffer at line: 215) which is not supported in the Edge Runtime.
Learn more: https://nextjs.org/docs/api-reference/edge-runtime
Import trace for requested module:
../../node_modules/@supabase/auth-helpers-shared/dist/index.mjs
../../node_modules/@supabase/auth-helpers-nextjs/dist/index.jsRelevant package versions:
"@supabase/auth-helpers-nextjs": "^0.5.2", "@supabase/auth-helpers-react": "^0.3.1","@supabase/supabase-js": "2.1.1","next": "13.0.6"Anyone faced similar issues? Help and ideas are much appreciated
GitHub
An isomorphic Javascript client for Supabase. Contribute to supabase/supabase-js development by creating an account on GitHub.