Share feedback, ideas and get community help

D
F
M
a
g

Getting errors on viewer side

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-
Attachment
capture1.png
1
z
M
M
14 comments
@Baptiste Please suggest what can cause this error please.
You are using the same version of builder in the viewer ?
The next.js version is similar if you mean that version:
Plain Text
viewer:dev: - event [next-runtime-env] read environment variables prefixed with 'NEXT_PUBLIC_' from process.env.
viewer:dev: - ready [next-runtime-env] wrote browser runtime environment variables to '/home/ibrahim/Documents/Updated-Typebot/typebot_updated/apps/viewer/public/__ENV.js'.
viewer:dev:    ▲ Next.js 14.0.3
viewer:dev:    - Local:        http://localhost:3001
viewer:dev:    - Experiments (use at your own risk):
viewer:dev:      · outputFileTracingRoot
--------
builder:dev: - ready [next-runtime-env] wrote browser runtime environment variables to '/home/ibrahim/Documents/Updated-Typebot/typebot_updated/apps/builder/public/__ENV.js'.
builder:dev:    ▲ Next.js 14.0.3
builder:dev:    - Local:        http://localhost:3000
builder:dev:    - Experiments (use at your own risk):
builder:dev:      · outputFileTracingRoo

@Michaelvips
The version I mean release
I pulled the repo 3-4 days back
getting this error on the viewer side @Baptiste any solution brother?
Attachment
image.png
This does not look like the viewer URL here, it should be on port 3001
So when we create a bot and try to view it on right pane available on builder side to review bot, we get this error.
You most likely editted the code, right?
What you've added most likely triggers this error. Can you share you GitHub repository?
Thanks we resolved this issue after a rebase something was missing but we cannot get past developer api error on google calendar
Add a reply
Sign up and join the conversation on Discord
Join