baptisteArno / typebot.io

πŸ’¬ Typebot is a powerful chatbot builder that you can self-host.

Home Page:https://typebot.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deployment on vercel with supabase is not finishing

Katacha1537 opened this issue Β· comments

I am following the documentation https://docs.typebot.io/self-hosting/deploy/vercel

I forked the repository,
I changed the root directory to: apps/builder
I used this command to build: cd ../.. && pnpm turbo build --filter=builder... && pnpm db:migrate
I configured the environment variables

When you deploy, it runs but doesn't finish until the server gives an error.

it arrives at "Executing for PostgreSQL schema" and doesn't go beyond that.

21:01:04.957 | Cloning github.com/Katacha1537/typebot (Branch: main, Commit: fa191fd)
21:01:05.284 | Previous build cache not available
21:01:13.071 | Cloning completed: 8.114s
21:01:14.218 | Running "vercel build"
21:01:16.795 | Vercel CLI 34.2.4
21:01:16.936 | > Detected Turbo. Adjusting default settings...
21:01:17.606 | Detected pnpm-lock.yaml version 6 generated by pnpm 8
21:01:17.611 | Running "install" command: pnpm install...
21:01:21.031 | Scope: all 46 workspace projects
21:01:21.423 | ../.. | Progress: resolved 1, reused 0, downloaded 0, added 0
21:01:21.774 | ../.. | +2318 ++++++++++++++++++++++++++++
21:01:22.425 | ../.. | Progress: resolved 2318, reused 0, downloaded 25, added 20
21:01:23.428 | ../.. | Progress: resolved 2318, reused 0, downloaded 172, added 176
21:01:24.428 | ../.. | Progress: resolved 2318, reused 0, downloaded 401, added 403
21:01:25.428 | ../.. | Progress: resolved 2318, reused 0, downloaded 545, added 539
21:01:26.429 | ../.. | Progress: resolved 2318, reused 0, downloaded 569, added 575
21:01:27.430 | ../.. | Progress: resolved 2318, reused 0, downloaded 578, added 575
21:01:28.431 | ../.. | Progress: resolved 2318, reused 0, downloaded 605, added 601
21:01:29.432 | ../.. | Progress: resolved 2318, reused 0, downloaded 686, added 688
21:01:30.436 | ../.. | Progress: resolved 2318, reused 0, downloaded 851, added 855
21:01:31.439 | ../.. | Progress: resolved 2318, reused 0, downloaded 1076, added 1079
21:01:32.443 | ../.. | Progress: resolved 2318, reused 0, downloaded 1282, added 1288
21:01:33.443 | ../.. | Progress: resolved 2318, reused 0, downloaded 1318, added 1314
21:01:34.444 | ../.. | Progress: resolved 2318, reused 0, downloaded 1467, added 1476
21:01:35.446 | ../.. | Progress: resolved 2318, reused 0, downloaded 1610, added 1614
21:01:36.446 | ../.. | Progress: resolved 2318, reused 0, downloaded 1719, added 1722
21:01:37.446 | ../.. | Progress: resolved 2318, reused 0, downloaded 1839, added 1848
21:01:38.513 | ../.. | Progress: resolved 2318, reused 0, downloaded 1928, added 1935
21:01:39.514 | ../.. | Progress: resolved 2318, reused 0, downloaded 1951, added 1950
21:01:40.515 | ../.. | Progress: resolved 2318, reused 0, downloaded 1981, added 1979
21:01:41.515 | ../.. | Progress: resolved 2318, reused 0, downloaded 2103, added 2100
21:01:42.516 | ../.. | Progress: resolved 2318, reused 0, downloaded 2301, added 2316
21:01:43.515 | ../.. | Progress: resolved 2318, reused 0, downloaded 2302, added 2317
21:01:43.861 | ../.. | Progress: resolved 2318, reused 0, downloaded 2302, added 2318, done
21:01:44.755 | .../node_modules/isolated-vm install$ prebuild-install || (node-gyp rebuild --release -j max && node-gyp clean)
21:01:44.775 | .../node_modules/@sentry/cli install$ node ./scripts/install.js
21:01:44.791 | .../node_modules/@prisma/engines postinstall$ node scripts/postinstall.js
21:01:44.917 | .../node_modules/@sentry/cli install: [sentry-cli] Downloading from https://downloads.sentry-cdn.com/sentry-cli/1.77.3/sentry-cli-Linux-x86_64
21:01:45.007 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 1%
21:01:45.012 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 2%
21:01:45.014 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 3%
21:01:45.017 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 4%
21:01:45.020 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 5%
21:01:45.023 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 6%
21:01:45.025 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 7%
21:01:45.028 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 8%
21:01:45.033 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 9%
21:01:45.035 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 10%
21:01:45.037 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 11%
21:01:45.039 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 12%
21:01:45.041 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 13%
21:01:45.044 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 14%
21:01:45.047 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 15%
21:01:45.048 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 16%
21:01:45.050 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 17%
21:01:45.053 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 18%
21:01:45.055 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 19%
21:01:45.057 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 20%
21:01:45.060 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 21%
21:01:45.062 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 22%
21:01:45.067 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 23%
21:01:45.069 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 24%
21:01:45.074 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 25%
21:01:45.077 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 26%
21:01:45.079 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 27%
21:01:45.082 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 28%
21:01:45.083 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 29%
21:01:45.091 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 30%
21:01:45.094 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 31%
21:01:45.100 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 32%
21:01:45.103 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 33%
21:01:45.105 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 34%
21:01:45.106 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 35%
21:01:45.108 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 36%
21:01:45.112 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 37%
21:01:45.115 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 38%
21:01:45.118 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 39%
21:01:45.120 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 40%
21:01:45.123 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 41%
21:01:45.125 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 42%
21:01:45.128 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 43%
21:01:45.129 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 44%
21:01:45.131 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 45%
21:01:45.134 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 46%
21:01:45.136 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 47%
21:01:45.138 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 48%
21:01:45.140 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 49%
21:01:45.142 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 50%
21:01:45.144 | .../node_modules/isolated-vm install: Done
21:01:45.148 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 51%
21:01:45.151 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 52%
21:01:45.157 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 53%
21:01:45.159 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 54%
21:01:45.162 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 55%
21:01:45.164 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 56%
21:01:45.166 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 57%
21:01:45.168 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 58%
21:01:45.169 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 59%
21:01:45.172 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 60%
21:01:45.179 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 61%
21:01:45.181 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 62%
21:01:45.183 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 63%
21:01:45.193 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 64%
21:01:45.199 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 65%
21:01:45.202 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 66%
21:01:45.209 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 67%
21:01:45.209 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 68%
21:01:45.210 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 69%
21:01:45.212 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 70%
21:01:45.214 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 71%
21:01:45.216 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 72%
21:01:45.221 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 73%
21:01:45.224 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 74%
21:01:45.229 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 75%
21:01:45.232 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 76%
21:01:45.241 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 77%
21:01:45.245 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 78%
21:01:45.250 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 79%
21:01:45.253 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 80%
21:01:45.255 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 81%
21:01:45.258 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 82%
21:01:45.264 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 83%
21:01:45.269 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 84%
21:01:45.269 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 85%
21:01:45.277 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 86%
21:01:45.281 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 87%
21:01:45.284 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 88%
21:01:45.289 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 89%
21:01:45.292 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 90%
21:01:45.300 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 91%
21:01:45.303 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 92%
21:01:45.306 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 93%
21:01:45.310 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 94%
21:01:45.312 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 95%
21:01:45.314 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 96%
21:01:45.317 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 97%
21:01:45.321 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 98%
21:01:45.323 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 99%
21:01:45.325 | .../node_modules/@sentry/cli install: fetching sentry-cli-Linux-x86_64 100%
21:01:45.405 | .../node_modules/@sentry/cli install: [sentry-cli] Checksum validation passed.
21:01:45.470 | .../node_modules/@sentry/cli install: Done
21:01:45.773 | .../node_modules/@prisma/engines postinstall: Done
21:01:45.889 | .../esbuild@0.19.12/node_modules/esbuild postinstall$ node install.js
21:01:45.889 | .../esbuild@0.15.18/node_modules/esbuild postinstall$ node install.js
21:01:45.902 | .../esbuild@0.17.5/node_modules/esbuild postinstall$ node install.js
21:01:45.929 | .../esbuild@0.18.20/node_modules/esbuild postinstall$ node install.js
21:01:45.930 | .../esbuild@0.19.5/node_modules/esbuild postinstall$ node install.js
21:01:46.016 | .../esbuild@0.19.12/node_modules/esbuild postinstall: Done
21:01:46.039 | .../esbuild@0.15.18/node_modules/esbuild postinstall: Done
21:01:46.056 | .../esbuild@0.18.20/node_modules/esbuild postinstall: Done
21:01:46.078 | .../prisma@5.12.1/node_modules/prisma preinstall$ node scripts/preinstall-entry.js
21:01:46.099 | .../esbuild@0.17.5/node_modules/esbuild postinstall: Done
21:01:46.105 | .../esbuild@0.19.5/node_modules/esbuild postinstall: Done
21:01:46.130 | .../node_modules/@swc/core postinstall$ node postinstall.js
21:01:46.164 | .../prisma@5.12.1/node_modules/prisma preinstall: Done
21:01:46.194 | .../esbuild@0.19.11/node_modules/esbuild postinstall$ node install.js
21:01:46.249 | .../node_modules/@swc/core postinstall: Done
21:01:46.303 | .../esbuild@0.19.11/node_modules/esbuild postinstall: Done
21:01:46.349 | .../sharp@0.33.2/node_modules/sharp install$ node install/check
21:01:46.371 | .../node_modules/@prisma/client postinstall$ node scripts/postinstall.js
21:01:46.489 | .../sharp@0.33.2/node_modules/sharp install: Done
21:01:47.110 | .../node_modules/@prisma/client postinstall: prisma:warn We could not find your Prisma schema at prisma/schema.prisma.
21:01:47.110 | .../node_modules/@prisma/client postinstall: If you have a Prisma schema file in a custom path, you will need to run
21:01:47.110 | .../node_modules/@prisma/client postinstall: prisma generate --schema=./path/to/your/schema.prisma to generate Prisma Client.
21:01:47.111 | .../node_modules/@prisma/client postinstall: If you do not have a Prisma schema file yet, you can ignore this message.
21:01:47.157 | .../node_modules/@prisma/client postinstall: Done
21:01:47.810 |  
21:01:47.810 | dependencies:
21:01:47.810 | + @braintree/sanitize-url 7.0.1
21:01:47.810 | + @chakra-ui/anatomy 2.1.1
21:01:47.810 | + @chakra-ui/react 2.7.1
21:01:47.810 | + @chakra-ui/theme-tools 2.0.18
21:01:47.810 | + @dnd-kit/core 6.0.8
21:01:47.810 | + @dnd-kit/sortable 7.0.2
21:01:47.810 | + @dnd-kit/utilities 3.2.1
21:01:47.810 | + @emotion/react 11.11.1
21:01:47.810 | + @emotion/styled 11.11.0
21:01:47.810 | + @faire/mjml-react 3.3.0
21:01:47.811 | + @giphy/js-fetch-api 5.0.0
21:01:47.811 | + @giphy/js-types 4.4.0
21:01:47.811 | + @giphy/js-util 5.0.0
21:01:47.811 | + @giphy/react-components 7.1.0
21:01:47.811 | + @googleapis/drive 8.0.0
21:01:47.811 | + @lilyrose2798/trpc-openapi 1.3.10
21:01:47.811 | + @paralleldrive/cuid2 2.2.1
21:01:47.811 | + @sentry/nextjs 7.77.0
21:01:47.811 | + @tanstack/react-query 4.29.19
21:01:47.811 | + @tanstack/react-table 8.9.3
21:01:47.811 | + @tolgee/format-icu 5.19.0
21:01:47.811 | + @tolgee/react 5.19.0
21:01:47.811 | + @trpc/client 10.40.0
21:01:47.811 | + @trpc/next 10.40.0
21:01:47.811 | + @trpc/react-query 10.40.0
21:01:47.811 | + @trpc/server 10.40.0
21:01:47.811 | + @typebot.io/bot-engine 1.0.0 <- ../../packages/bot-engine
21:01:47.811 | + @typebot.io/emails 1.0.0 <- ../../packages/emails
21:01:47.811 | + @typebot.io/env 1.0.0 <- ../../packages/env
21:01:47.811 | + @typebot.io/js 0.2.85 <- ../../packages/embeds/js
21:01:47.811 | + @typebot.io/nextjs 0.2.85 <- ../../packages/embeds/nextjs
21:01:47.811 | + @typebot.io/theme 1.0.0 <- ../../packages/theme
21:01:47.811 | + @udecode/cn 29.0.1
21:01:47.811 | + @udecode/plate-basic-marks 30.5.3
21:01:47.811 | + @udecode/plate-common 30.4.5
21:01:47.811 | + @udecode/plate-core 30.4.5
21:01:47.811 | + @udecode/plate-floating 30.5.3
21:01:47.811 | + @udecode/plate-link 30.5.3
21:01:47.811 | + @uiw/codemirror-extensions-langs 4.21.24
21:01:47.811 | + @uiw/codemirror-theme-github 4.21.24
21:01:47.811 | + @uiw/codemirror-theme-tokyo-night 4.21.24
21:01:47.811 | + @uiw/react-codemirror 4.21.24
21:01:47.811 | + @upstash/ratelimit 0.4.3
21:01:47.811 | + @upstash/redis 1.22.0
21:01:47.811 | + @use-gesture/react 10.2.27
21:01:47.811 | + browser-image-compression 2.0.2
21:01:47.811 | + canvas-confetti 1.6.0
21:01:47.812 | + codemirror 6.0.1
21:01:47.812 | + deep-object-diff 1.1.9
21:01:47.812 | + dequal 2.0.3
21:01:47.812 | + emojilib 3.0.10
21:01:47.812 | + focus-visible 5.2.0
21:01:47.812 | + framer-motion 10.3.0
21:01:47.812 | + google-auth-library 8.9.0
21:01:47.812 | + google-spreadsheet 4.1.1
21:01:47.812 | + immer 10.0.2
21:01:47.812 | + isolated-vm 4.7.2
21:01:47.812 | + jsonwebtoken 9.0.1
21:01:47.812 | + ky 1.2.3
21:01:47.812 | + libphonenumber-js 1.10.37
21:01:47.812 | + micro 10.0.1
21:01:47.812 | + micro-cors 0.1.1
21:01:47.812 | + next 14.1.0
21:01:47.812 | + next-auth 4.22.1
21:01:47.812 | + nextjs-cors 2.1.2
21:01:47.812 | + nodemailer 6.9.8
21:01:47.812 | + nprogress 0.2.0
21:01:47.812 | + openai 4.47.1
21:01:47.812 | + papaparse 5.4.1
21:01:47.812 | + prettier 2.8.8
21:01:47.812 | + qs 6.11.2
21:01:47.812 | + react 18.2.0
21:01:47.812 | + react-dom 18.2.0
21:01:47.812 | + react-markdown 9.0.1
21:01:47.812 | + shared-zustand 2.0.0
21:01:47.812 | + sonner 1.3.1
21:01:47.813 | + stripe 12.13.0
21:01:47.813 | + svg-round-corners 0.4.1
21:01:47.813 | + swr 2.2.0
21:01:47.813 | + tinycolor2 1.6.0
21:01:47.813 | + unsplash-js 7.0.18
21:01:47.813 | + use-debounce 9.0.4
21:01:47.813 | + zod-validation-error 3.0.3
21:01:47.813 | + zustand 4.5.0
21:01:47.813 |  
21:01:47.813 | devDependencies:
21:01:47.813 | + @chakra-ui/styled-system 2.9.1
21:01:47.813 | + @playwright/test 1.43.1
21:01:47.813 | + @typebot.io/billing 1.0.0 <- ../../ee/packages/billing
21:01:47.813 | + @typebot.io/forge 1.0.0 <- ../../packages/forge/core
21:01:47.813 | + @typebot.io/forge-repository 1.0.0 <- ../../packages/forge/repository
21:01:47.813 | + @typebot.io/lib 1.0.0 <- ../../packages/lib
21:01:47.813 | + @typebot.io/migrations 1.0.0 <- ../../packages/migrations
21:01:47.813 | + @typebot.io/playwright 1.0.0 <- ../../packages/playwright
21:01:47.813 | + @typebot.io/prisma 0.1.0 <- ../../packages/prisma
21:01:47.813 | + @typebot.io/radar 1.0.0 <- ../../packages/radar
21:01:47.813 | + @typebot.io/results 1.0.0 <- ../../packages/results
21:01:47.813 | + @typebot.io/schemas 1.0.0 <- ../../packages/schemas
21:01:47.813 | + @typebot.io/telemetry 1.0.0 <- ../../packages/telemetry
21:01:47.813 | + @typebot.io/tsconfig 0.0.1 <- ../../packages/tsconfig
21:01:47.813 | + @types/canvas-confetti 1.6.0
21:01:47.813 | + @types/jsonwebtoken 9.0.2
21:01:47.813 | + @types/micro-cors 0.1.3
21:01:47.813 | + @types/node 20.4.2
21:01:47.814 | + @types/nodemailer 6.4.14
21:01:47.814 | + @types/nprogress 0.2.0
21:01:47.814 | + @types/papaparse 5.3.7
21:01:47.814 | + @types/prettier 2.7.3
21:01:47.814 | + @types/qs 6.9.7
21:01:47.814 | + @types/react 18.2.15
21:01:47.814 | + @types/tinycolor2 1.4.3
21:01:47.814 | + dotenv 16.4.5
21:01:47.814 | + dotenv-cli 7.4.1
21:01:47.814 | + eslint 8.44.0
21:01:47.814 | + eslint-config-custom 0.0.1 <- ../../packages/eslint-config-custom
21:01:47.814 | + next-runtime-env 1.6.2
21:01:47.814 | + superjson 1.12.4
21:01:47.814 | + typescript 5.4.5
21:01:47.814 | + zod 3.22.4
21:01:47.814 |  
21:01:47.829 | ../.. prepare$ husky install
21:01:47.891 | ../.. prepare: husky - Git hooks installed
21:01:47.894 | ../.. prepare: Done
21:01:48.246 | Done in 29.6s
21:01:48.311 | Detected Next.js version: 14.1.0
21:01:48.312 | Running "cd ../.. && pnpm turbo build --filter=builder... && pnpm db:migrate"
21:01:49.025 | β€’ Packages in scope: @typebot.io/billing, @typebot.io/bot-engine, @typebot.io/emails, @typebot.io/env, @typebot.io/forge, @typebot.io/forge-repository, @typebot.io/js, @typebot.io/lib, @typebot.io/migrations, @typebot.io/nextjs, @typebot.io/playwright, @typebot.io/prisma, @typebot.io/radar, @typebot.io/results, @typebot.io/schemas, @typebot.io/telemetry, @typebot.io/theme, @typebot.io/tsconfig, builder, eslint-config-custom
21:01:49.025 | β€’ Running build in 20 packages
21:01:49.025 | β€’ Remote caching enabled
21:01:49.603 | @typebot.io/prisma:db:generate: cache bypass, force executing 03874d2b32c6f7ff
21:01:50.116 | @typebot.io/prisma:db:generate:
21:01:50.116 | @typebot.io/prisma:db:generate: > @typebot.io/prisma@0.1.0 db:generate /vercel/path0/packages/prisma
21:01:50.116 | @typebot.io/prisma:db:generate: > dotenv -e ./.env -e ../../.env -- tsx scripts/db-generate.ts
21:01:50.116 | @typebot.io/prisma:db:generate:
21:01:50.469 | @typebot.io/prisma:db:generate: (node:843) ExperimentalWarning: --experimental-loader may be removed in the future; instead use register():
21:01:50.469 | @typebot.io/prisma:db:generate: --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("file%3A///vercel/path0/node_modules/.pnpm/tsx%403.12.7/node_modules/tsx/dist/loader.js", pathToFileURL("./"));'
21:01:50.469 | @typebot.io/prisma:db:generate: (Use node --trace-warnings ... to show where the warning was created)
21:01:50.470 | @typebot.io/prisma:db:generate: (node:843) ExperimentalWarning: globalPreload is planned for removal in favor of initialize. globalPreload is an experimental feature and might change at any time
21:01:50.470 | @typebot.io/prisma:db:generate: (Use node --trace-warnings ... to show where the warning was created)
21:01:50.534 | @typebot.io/prisma:db:generate: Executing for PostgreSQL schema
21:01:52.133 | @typebot.io/prisma:db:generate: Prisma schema loaded from postgresql/schema.prisma
21:01:52.133 | @typebot.io/prisma:db:generate:
21:01:52.133 | @typebot.io/prisma:db:generate: βœ” Generated Prisma Client (v5.12.1) to ./../../node_modules/.pnpm/@prisma+client@5.12.1_prisma@5.12.1/node_modules/@prisma/client in 269ms
21:01:52.133 | @typebot.io/prisma:db:generate:
21:01:52.133 | @typebot.io/prisma:db:generate: Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
21:01:52.133 | @typebot.io/prisma:db:generate: 21:01:52.134 | @typebot.io/prisma:db:generate: import { PrismaClient } from '@prisma/client' 21:01:52.134 | @typebot.io/prisma:db:generate: const prisma = new PrismaClient() 21:01:52.134 | @typebot.io/prisma:db:generate:
21:01:52.134 | @typebot.io/prisma:db:generate: or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
21:01:52.134 | @typebot.io/prisma:db:generate: 21:01:52.134 | @typebot.io/prisma:db:generate: import { PrismaClient } from '@prisma/client/edge' 21:01:52.134 | @typebot.io/prisma:db:generate: const prisma = new PrismaClient() 21:01:52.134 | @typebot.io/prisma:db:generate:
21:01:52.134 | @typebot.io/prisma:db:generate:
21:01:52.134 | @typebot.io/prisma:db:generate: See other ways of importing Prisma Client: http://pris.ly/d/importing-client
21:01:52.134 | @typebot.io/prisma:db:generate:
21:01:52.134 | @typebot.io/prisma:db:generate: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
21:01:52.134 | @typebot.io/prisma:db:generate: β”‚ Supercharge your Prisma Client with global database caching, β”‚
21:01:52.134 | @typebot.io/prisma:db:generate: β”‚ scalable connection pooling and real-time database events. β”‚
21:01:52.134 | @typebot.io/prisma:db:generate: β”‚ Explore Prisma Accelerate: https://pris.ly/cli/-accelerate β”‚
21:01:52.134 | @typebot.io/prisma:db:generate: β”‚ Explore Prisma Pulse: https://pris.ly/cli/-pulse β”‚
21:01:52.134 | @typebot.io/prisma:db:generate: β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
21:01:52.134 | @typebot.io/prisma:db:generate:
21:01:52.134 | @typebot.io/prisma:db:generate:
21:01:52.418 | @typebot.io/env:build: cache hit, suppressing logs f001e9d211e5a330
21:01:52.648 | @typebot.io/js:build: cache hit, suppressing logs e74c33b1c4f451e4
21:01:52.836 | @typebot.io/react:build: cache hit, suppressing logs 2125088d9a2dd683
21:01:53.030 | @typebot.io/nextjs:build: cache hit, suppressing logs e042a287b73d068a
21:01:57.177 | builder:build: cache hit, suppressing logs c109982a44418fad
21:01:57.194 |  
21:01:57.194 | Tasks: 6 successful, 6 total
21:01:57.194 | Cached: 5 cached, 6 total
21:01:57.194 | Time: 8.286s
21:01:57.194 | Summary: /vercel/path0/.turbo/runs/2hLUapoWFBUqoj7iOsmHwCFc3fO.json
21:01:57.194 |  
21:01:57.802 |  
21:01:57.802 | > typebot-os@2.25.2 db:migrate /vercel/path0
21:01:57.802 | > cd packages/prisma && pnpm run db:migrate
21:01:57.802 |  
21:01:58.308 |  
21:01:58.308 | > @typebot.io/prisma@0.1.0 db:migrate /vercel/path0/packages/prisma
21:01:58.308 | > pnpm migrate:deploy
21:01:58.308 |  
21:01:58.813 |  
21:01:58.814 | > @typebot.io/prisma@0.1.0 migrate:deploy /vercel/path0/packages/prisma
21:01:58.814 | > dotenv -e ./.env -e ../../.env -- tsx scripts/migrate-deploy.ts
21:01:58.814 |  
21:01:59.158 | (node:971) ExperimentalWarning: --experimental-loader may be removed in the future; instead use register():
21:01:59.158 | --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("file%3A///vercel/path0/node_modules/.pnpm/tsx%403.12.7/node_modules/tsx/dist/loader.js", pathToFileURL("./"));'
21:01:59.158 | (Use node --trace-warnings ... to show where the warning was created)
21:01:59.161 | (node:971) ExperimentalWarning: globalPreload is planned for removal in favor of initialize. globalPreload is an experimental feature and might change at any time
21:01:59.161 | (Use node --trace-warnings ... to show where the warning was created)
21:01:59.219 | Executing for PostgreSQL schema

But how does it fail? There should be a error message at some point

There is no error, vercel cancels due to a time limit of 45 minutes, it arrives at "Executing for PostgreSQL schema" and no more logs appear during the 45 minutes.

I did it using a non-existing database "postgresql://postgres:typebot@typebot-db:5432/typebot" it deployed, but it doesn't log in.

image

I managed to resolve the database uri was wrong. I fixed it and now it's gone.