Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "process.env.NEXT_PUBLIC_VIEWER_URL is missing in env" when I try to preview any bot. #116

Closed
IzMichael opened this issue Aug 4, 2022 · 2 comments

Comments

@IzMichael
Copy link

Hiya, I'm self-hosting with vercel, and whenever I attempt to preview a bot (creating from a template, previewing before publishing, etc.), it just displays text saying "process.env.NEXT_PUBLIC_VIEWER_URL is missing in env". I'm not sure what can be done for my to rectify this. I've checked my vercel settings and the environment variable is set correctly. I've tried re-deploying, committing to trigger a new deployment, and nothing.
image

baptisteArno added a commit that referenced this issue Aug 6, 2022
baptisteArno added a commit that referenced this issue Aug 6, 2022
@baptisteArno
Copy link
Owner

Hey, thank you for filling an issue. Indeed, I forgot to update the Vercel build command lately, it has changed!

The doc has been updated: https://docs.typebot.io/self-hosting/vercel

@IzMichael
Copy link
Author

Ah, ty!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants