NerdkidChiki
NerdkidChiki15mo ago

having issues deploying my react app to production

Hi everyone , currently deploying my app on netlify and am getting build errors.....aso, dont know why the "process" is giving me red squigly lines in my authconfig.js......the app works perfectly in development with no issues,even whe i build and serve it with vite
screenshot of my authconfig.js
No description
2 Replies
sshader
sshader15mo ago
Do you have the CLERK_JWT_ISSUER_DOMAIN environment variable set in your prod deployment? (you can find this in the dashboard in the settings for the deployment) And to guess at the red squiggly -- this might be a TypeScript error indicating you need to install the types for process (when I've seen similar things in VSCode the message when I hover the red squiggly gives me a command to run), but it's hard to say for sure without an error message / seeing the tsconfig
Michal Srb
Michal Srb15mo ago
Hey @NerdkidChiki , just wanted to call out that if you're using Clerk you will have to have a custom domain. Clerk doesn't support neither vercel.app nor the netlify equivalent. Before you're ready to get a domain, you can continue using Clerk in dev setup.

Did you find this page helpful?