Invalid export using kinde
Im trying to deploy my app via vercel and when I run npm run build I get this error. Can someone help me out?
11 Replies
Sorry that you are seeing this @Thomas , I will get a team member to look into it for you. Maybe check out this guide and see if it helps. https://youtu.be/ZNuE7CkB6ck?si=0dI3GP43FDLIWWM0
Kinde
YouTube
How to deploy a Kinde Next.js app with Vercel
Software engineer Peter takes you through how to deploy a Kinde app using Vercel, and covers the common pitfalls involved.
00:00 - App demo
0:46 - Creating a project on Vercel
1:19 - Initialising Github repo
2:49 - Setting up environment variables on Vercel
4:00 - Deploying and visiting the app on the Vercel Domain
5:13 - Updating environment ...
This looks like an older version of the SDK - I would suggest doing something like
return handleAuth(request, endpoint) as any
So that the build can passi tried this but now my auth callback isn't working
When deploying did you update the env variables and save the callback URLs?
Make sure that the env variables on vercel are saved for production & after changing them on vercel you will have to redeploy
yes i did i like triple checked
thats why im so confused
dang thats no good
what version of the sdk are you using?
hey did you manage to fix this? I have the same issue now
Hey @Ash,
I have the same issue nowAre you referring to the same issue here: https://discord.com/channels/1070212618549219328/1211998379303772201/1224261573477011536 If so, let's continue the discussion on the other Discord thread