Next.js Discord

Discord Forum

Stack guards not supported in this environment

Unanswered
Masn posted this in #help-forum
Open in Discord
I have a Next.js project using Supabase and out of nowhere just started getting this error on my production build for any route that utilizes supabase auth (which is all of my routes...):

@supabase/gotrue-js: Stack guards not supported in this environment. Generally not an issue but may point to a very conservative transpilation environment (use ES2017 or above) that implements async/await with generators, or this is a JavaScript engine that does not support async/await stack traces. Safari is known to not support stack guards.


Could this be that Vercel does not support stack overflow guards?

Here is a link to my reply in the github issue for more context: https://github.com/supabase/gotrue-js/issues/746#issuecomment-1653787273

0 Replies