K
Kinde10mo ago
Thomas

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?
No description
11 Replies
Thomas
Thomas10mo ago
No description
onderay
onderay10mo ago
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 ...
peteswah
peteswah10mo ago
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 pass
Thomas
Thomas10mo ago
i tried this but now my auth callback isn't working
Thomas
Thomas10mo ago
No description
Thomas
Thomas10mo ago
No description
peteswah
peteswah10mo ago
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
Thomas
Thomas10mo ago
yes i did i like triple checked thats why im so confused
peteswah
peteswah10mo ago
dang thats no good what version of the sdk are you using?
Ash
Ash7mo ago
hey did you manage to fix this? I have the same issue now
Oli - Kinde
Oli - Kinde7mo ago
Hey @Ash,
I have the same issue now
Are 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
Want results from more Discord servers?
Add your server