Share feedback, ideas and get community help

Home
Members
zeehasham
z
zeehasham
Offline, last seen 2 months ago
Joined September 13, 2024
I created my image but it seems to be giving errors on builder and viewer side but my non containerized code seems to be fine and working. I used the same dockerfile that is shared in the main repo.
Builder side:
Error: Cannot find module '/app/apps/builder/server.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15) at Module._load (node:internal/modules/cjs/loader:975:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] }

On viewer side:
Error: Cannot find module '/app/apps/viewer/server.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15) at Module._load (node:internal/modules/cjs/loader:975:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.19.1 - event [next-runtime-env] read environment variables prefixed with 'NEXT_PUBLIC_' from process.env. - ready [next-runtime-env] wrote browser runtime environment variables to '/app/apps/viewer/public/__ENV.js'. node:internal/modules/cjs/loader:1137 throw err; ^ Error: Cannot find module '/app/apps/viewer/server.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15) at Module._load (node:internal/modules/cjs/loader:975:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] }
10 comments
z
l
B
I see that there is a sanity test that runs on each git commit even in local. How to turn off this functionality temporarily ?
2 comments
B
I am working to integrate google calendar i have made the integration using forge also i have made the backend like O auth callback handler to login user via google account but in forge it doesn't let me use client side code like its new technology mostly server side is allowed, so things like redirection to google page for login account is very difficult. Can you guide me. Thanks
2 comments
z
B
I am trying to integrate the google calendar. Now I am getting this error when I try add google calendar by drag and drop in bot template. Screenshot attached. Any help will be highly appreciated.
2 comments
B
z
Hello I am trying to contribute to the typebot by extending its functionality to google calendar. After I have added the code, do I need to run pnpm dev everytime or I can restart the docker containers using docker-compose ? What is the best practice.
3 comments
B
I have added a new block and changes are not being shown in the UI, I suspect my changes are not reflected in the container because I do not see the complete folder structure inside apps/src. Also what is the purpose of yaml file named docker-compose.build.yml do we need to run it at any stage ?
10 comments
B
o
z
So recently I was working on typebot integration and we were checking the integration on the viewer side but the viewer side is giving the following error and we have no clue how to fix this:
@MasterIBM
Plain Text
viewer:dev:  ⨯ Error: Unknown schema ZodUndefined. Please assign it a manual 'type'.
viewer:dev:     at createManualTypeSchema (/home/ibrahim/Documents/Updated-Typebot/typebot_updated/node_modules/.pnpm/[email protected][email protected]/node_modules/zod-openapi/lib-commonjs/index.js:194:11)
viewer:dev:     at createSchemaSwitch (/home/ibrahim/Documents/Updated-Typebot/typebot_updated/node_modules/.pnpm/zod-
14 comments
z
B
M
M
When I try to sign in using github I get an error below, I am trying self hosting with Dockers. It seems that its trying to redirect to localhost. My .env seems to be fine. Can someone guide what I am missing. When I try to login using google it throws an error that application does not meets the requirements of OAuth2.0.

Plain Text
# Make sure to change this to your own random string of 32 characters (https://docs.typebot.io/self-hosting/docker#2-add-the-required-configuration)
ENCRYPTION_SECRET=<my key here>

DATABASE_URL=postgresql://postgres:typebot@typebot_typebot-db_1:5432/typebot

NEXTAUTH_URL=http://146.190.35.191:8080
NEXT_PUBLIC_VIEWER_URL=http://146.190.35.191:8081

GITHUB_CLIENT_ID=<id here>
GITHUB_CLIENT_SECRET=<my secret here>

S3_ACCESS_KEY=minio
S3_SECRET_KEY=minio123
S3_BUCKET=typebot
S3_PORT=9000
S3_ENDPOINT=localhost
S3_SSL=false


Plain Text
http://localhost:3000/api/auth/callback/github?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdocs.github.com%2Fapps%2Fmanaging-oauth-apps%2Ftroubleshooting-authorization-r
6 comments
z
B
I am facing this issue with google calendar. Any help will be appreciated
2 comments
B