Share feedback, ideas and get community help

Updated 7 months ago

Error while parsing

Hello,

I try to host Typebot by myself. To make it work, I have to get rid of the GitHub request when I get the magic link.
So I edited the code for my requirements and want to build the containers. When I try to build the Containers, it gives following error:
Failed to compile.
./src/pages/api/auth/[...nextauth].ts
185:5 Error: Parsing error: Declaration or statement expected.

I did nothing to that file.

FYI: the Dockerfile needs to be edited because the pnpm Version needs to be set to 8.15.4
B
A
2 comments
You don't have to edit the code for that, it can be done solely with environment variables: https://docs.typebot.io/self-hosting/configuration

If you remove GITHUB_CLIENT_ID, the Github login option should disappear
It's not part of my environment variables but it still wanna connect to github. I've build a new container on my own without that
Add a reply
Sign up and join the conversation on Discord