Share feedback, ideas and get community help

Updated 4 weeks ago

prisma error on production build

previously i was getting type errors on build from prisma.* in package/typebot/src/schema/<all files>

after making it any (as in screenshot) i am getting this new error ./src/features/answers/queries/upsertAnswerQuery.ts

system info : Ubuntu 22.04.5 LTS
error produced by command : bunx turbo build --filter=builder... --filter=viewer...

it seems like a error loop it there anything that i am missing
Attachments
image.png
image.png
B
k
10 comments
Provide the logs before what you are already showing
package have installed successfully
bun install [0.02ms] ".env" bun install v1.1.30 (7996d06b) $ husky .git can't be found Checked 3264 installs across 2523 packages (no changes) [217.00ms]
new error log
here is the env file for production
it is working in my localmachine
local sysinfo: mac m1
production os: ubuntu

Plain Text
DATABASE_URL=postgresql://postgres:[email protected]:5432/typebot

NODE_OPTIONS=--no-node-snapshot

NEXTAUTH_URL=https://typebot-builder.example.com
NEXT_PUBLIC_VIEWER_URL=https://typebot.example.com

GITHUB_CLIENT_ID=534b549dd17709a743a2
GITHUB_CLIENT_SECRET=7adb03507504fb1a54422f6c3c697277cfd000a9

S3_ACCESS_KEY=9abddbe475188f8c41646a16
S3_SECRET_KEY=df8f404f305ef7c2787f750339bf9ebe
S3_BUCKET=typebot
S3_PORT=9000
S3_ENDPOINT=https://minio.example.com
S3_SSL=false

[email protected]
Are you sure you correctly cloned the repo?
Because it says .git folder not found
which is not expected.
Make sure to clone the entire repo from scratch and try again
now i am trying with the terminal

Plain Text
bun install
[0.04ms] ".env"
bun install v1.1.30 (7996d06b)

$ husky

Checked 3264 installs across 2523 packages (no changes) [380.00ms]


builld log attached in message.txt
this solved now
Add a reply
Sign up and join the conversation on Discord