Hey, I'm trying to upgrade my environment. It was upgraded to v5. I did an upgrade of the react & ba...
h
Hey, I'm trying to upgrade my environment. It was upgraded to v5. I did an upgrade of the react & backend packages as well to the latest version.
But after the upgrade, I'm getting the following error (running on nextjs with react, backend is express)

https://cdn.discordapp.com/attachments/1111238394211745883/1111238537229107281/image.png

n
Perhaps @porcellus can help here
In the meantime can you share the code for your Auth component
r
Did you see our Changelog for supertokens-auth-react repo?
h
No can you send the changelog related to that ?
I'm following the documentation of nextjs
r
See our GitHub please. Changelog.md
p
r
For the relevant SDKs you are using
p
I don't see anything wrong with your code right now. Does the error go away if you remove
SuperTokensComponentNoSSR
?
h
Yes!!!
r
@porcellus what could be wrong here?
h
"supertokens-auth-react": "^0.32.3", "supertokens-web-js": "^0.5.0",
that's what is installed in my nextjs project
p
I'm not sure... :/ Could you try logging the result of
getRoutingComponent
?
h
Does not seem to be possible
This is what you were asking ?
Even with a simple config as follows:
export const frontendConfig = (apiUrl, frontendUrl) => { return { appInfo: appInfo(apiUrl, frontendUrl), recipeList: [ EmailPassword.init({}), SessionReact.init(), ], }; };
p
Do you use any component overrides?
Is there some way I could check out the your code or a project where this issue is present?
h
Hey @porcellus , we can have a call if you want ?
If you are available now, it is possible or tomorrow when you can.
p
Tomorrow would be great, I'll send a calendly link when I get home.
h
cool!
p