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
2 Replies
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 disappearIt'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