<@!498057949541826571> heads up: on your NextJS do...
# support-questions
d
@User heads up: on your NextJS documentation you suggest creating the config file for supertokens inside the 'pages/' folder. This breaks the NextJS build (at least when deploying to Vercel, locally it worked just fine) with the error:
Copy code
> Build error occurred
Error: automatic static optimization failed: found pages without a React Component as default export in
I just moved the file out of
pages/
(into a folder that I named
config/
) and it fixed it.
3 Views