dubinc / dub

Open-source link management infrastructure. Loved by modern marketing teams like Vercel, Raycast, and Perplexity.
https://dub.co
GNU Affero General Public License v3.0
18.98k stars 2.06k forks source link

Build Failed on Vercel #629

Closed yusing closed 4 months ago

yusing commented 9 months ago

snippet

web:build: Attempted import error: 'useContext' is not exported from 'react' (imported as 'useContext').
Expand 8 Lines
11:57:04.424 | web:build: Attempted import error: 'useContext' is not exported from 'react' (imported as 'useContext').
Expand 24 Lines
11:57:22.984 | web:build: > Build error occurred
11:57:22.987 | web:build: Error: Failed to collect page data for /api/admin/links/[linkId]/ban
11:57:22.987 | web:build:     at /vercel/path0/node_modules/.pnpm/next@14.1.1-canary.70_@babel+core@7.23.0_@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/utils.js:1268:15
11:57:22.988 | web:build:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
11:57:22.988 | web:build:   type: 'Error'
11:57:22.988 | web:build: }
11:57:23.184 | web:build:  ELIFECYCLE  Command failed with exit code 1.
11:57:23.203 | web:build: ERROR: command finished with error: command (/vercel/path0/apps/web) /pnpm8/node_modules/.bin/pnpm run build exited (1)
11:57:23.203 | web#build: command (/vercel/path0/apps/web) /pnpm8/node_modules/.bin/pnpm run build exited (1)
11:57:23.206 |  
11:57:23.207 | Tasks:    2 successful, 3 total
11:57:23.207 | Cached:    2 cached, 3 total
11:57:23.207 | Time:    2m41.64s
11:57:23.207 | Summary:    /vercel/path0/.turbo/runs/2cnUsYfZBJSGQYh8w2PoQSR4Shd.json
11:57:23.207 | Failed:    web#build
11:57:23.208 |  
11:57:23.211 | ERROR  run failed: command  exited (1)
11:57:23.281 | Error: Command "turbo run build" exited with 1
11:57:24.249

full

[11:53:50.417] Running build in Washington, D.C., USA (East) – iad1
[11:53:50.541] Cloning github.com/yusing/6uo.me (Branch: dependabot/npm_and_yarn/ip-1.1.9, Commit: a68bc60)
[11:53:51.130] Cloning completed: 589.645ms
[11:53:51.208] Previous build caches not available
[11:53:51.640] Running "vercel build"
[11:53:53.415] Vercel CLI 33.5.2
[11:53:53.540] > Detected Turbo. Adjusting default settings...
[11:53:54.255] Detected `pnpm-lock.yaml` version 6 generated by pnpm 8
[11:53:54.261] Running "install" command: `pnpm install`...
[11:53:54.851] Scope: all 6 workspace projects
[11:53:55.223] ../..                                    | Progress: resolved 1, reused 0, downloaded 0, added 0
[11:53:55.575] ../..                                    |    +1652 ++++++++++++++++++++++++++++
[11:53:56.224] ../..                                    | Progress: resolved 1652, reused 0, downloaded 15, added 0
[11:53:57.226] ../..                                    | Progress: resolved 1652, reused 0, downloaded 97, added 86
[11:53:58.225] ../..                                    | Progress: resolved 1652, reused 0, downloaded 120, added 112
[11:53:59.225] ../..                                    | Progress: resolved 1652, reused 0, downloaded 205, added 195
[11:54:00.228] ../..                                    | Progress: resolved 1652, reused 0, downloaded 250, added 235
[11:54:01.228] ../..                                    | Progress: resolved 1652, reused 0, downloaded 335, added 328
[11:54:02.229] ../..                                    | Progress: resolved 1652, reused 0, downloaded 437, added 432
[11:54:03.229] ../..                                    | Progress: resolved 1652, reused 0, downloaded 467, added 458
[11:54:04.230] ../..                                    | Progress: resolved 1652, reused 0, downloaded 473, added 461
[11:54:05.231] ../..                                    | Progress: resolved 1652, reused 0, downloaded 483, added 468
[11:54:06.238] ../..                                    | Progress: resolved 1652, reused 0, downloaded 537, added 534
[11:54:07.239] ../..                                    | Progress: resolved 1652, reused 0, downloaded 555, added 546
[11:54:08.240] ../..                                    | Progress: resolved 1652, reused 0, downloaded 558, added 547
[11:54:09.240] ../..                                    | Progress: resolved 1652, reused 0, downloaded 591, added 577
[11:54:10.245] ../..                                    | Progress: resolved 1652, reused 0, downloaded 610, added 606
[11:54:11.246] ../..                                    | Progress: resolved 1652, reused 0, downloaded 625, added 611
[11:54:12.248] ../..                                    | Progress: resolved 1652, reused 0, downloaded 626, added 611
[11:54:13.249] ../..                                    | Progress: resolved 1652, reused 0, downloaded 675, added 671
[11:54:14.249] ../..                                    | Progress: resolved 1652, reused 0, downloaded 723, added 708
[11:54:15.250] ../..                                    | Progress: resolved 1652, reused 0, downloaded 751, added 741
[11:54:16.251] ../..                                    | Progress: resolved 1652, reused 0, downloaded 767, added 752
[11:54:17.252] ../..                                    | Progress: resolved 1652, reused 0, downloaded 799, added 794
[11:54:18.253] ../..                                    | Progress: resolved 1652, reused 0, downloaded 827, added 813
[11:54:19.258] ../..                                    | Progress: resolved 1652, reused 0, downloaded 878, added 866
[11:54:20.259] ../..                                    | Progress: resolved 1652, reused 0, downloaded 887, added 877
[11:54:21.260] ../..                                    | Progress: resolved 1652, reused 0, downloaded 893, added 880
[11:54:22.260] ../..                                    | Progress: resolved 1652, reused 0, downloaded 894, added 880
[11:54:23.261] ../..                                    | Progress: resolved 1652, reused 0, downloaded 932, added 919
[11:54:24.262] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1011, added 1010
[11:54:25.263] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1049, added 1042
[11:54:26.264] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1193, added 1196
[11:54:27.264] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1345, added 1338
[11:54:28.265] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1391, added 1384
[11:54:29.266] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1485, added 1480
[11:54:30.267] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1519, added 1517
[11:54:31.268] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1525, added 1517
[11:54:32.269] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1526, added 1517
[11:54:33.269] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1535, added 1525
[11:54:34.271] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1542, added 1532
[11:54:35.272] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1572, added 1564
[11:54:36.272] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1588, added 1578
[11:54:37.272] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1640, added 1640
[11:54:37.420] ../..                                    | Progress: resolved 1652, reused 0, downloaded 1646, added 1652, done
[11:54:38.374] .../node_modules/protobufjs postinstall$ node scripts/postinstall
[11:54:38.435] .../node_modules/@prisma/engines postinstall$ node scripts/postinstall.js
[11:54:38.453] .../node_modules/@vercel/speed-insights postinstall$ node scripts/postinstall.mjs
[11:54:38.485] .../core-js@3.33.0/node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}"
[11:54:38.488] .../node_modules/protobufjs postinstall: Done
[11:54:38.577] .../node_modules/@vercel/speed-insights postinstall: Done
[11:54:38.634] .../core-js@3.33.0/node_modules/core-js postinstall: Done
[11:54:39.533] .../node_modules/@prisma/engines postinstall: Done
[11:54:39.682] .../node_modules/@swc/core postinstall$ node postinstall.js
[11:54:39.740] .../esbuild@0.18.20/node_modules/esbuild postinstall$ node install.js
[11:54:39.764] .../esbuild@0.19.11/node_modules/esbuild postinstall$ node install.js
[11:54:39.765] .../esbuild@0.14.54/node_modules/esbuild postinstall$ node install.js
[11:54:39.842] .../node_modules/@swc/core postinstall: Done
[11:54:39.843] .../prisma@5.2.0/node_modules/prisma preinstall$ node scripts/preinstall-entry.js
[11:54:39.909] .../esbuild@0.18.20/node_modules/esbuild postinstall: Done
[11:54:39.964] .../esbuild@0.19.11/node_modules/esbuild postinstall: Done
[11:54:40.012] .../prisma@5.2.0/node_modules/prisma preinstall: Done
[11:54:40.059] .../esbuild@0.14.54/node_modules/esbuild postinstall: Done
[11:54:40.154] .../node_modules/@prisma/client postinstall$ node scripts/postinstall.js
[11:54:40.917] .../node_modules/@prisma/client postinstall: prisma:warn We could not find your Prisma schema at `prisma/schema.prisma`.
[11:54:40.918] .../node_modules/@prisma/client postinstall: If you have a Prisma schema file in a custom path, you will need to run
[11:54:40.919] .../node_modules/@prisma/client postinstall: `prisma generate --schema=./path/to/your/schema.prisma` to generate Prisma Client.
[11:54:40.919] .../node_modules/@prisma/client postinstall: If you do not have a Prisma schema file yet, you can ignore this message.
[11:54:40.949] .../node_modules/@prisma/client postinstall: Done
[11:54:41.325] 
[11:54:41.325] dependencies:
[11:54:41.325] + @boxyhq/saml-jackson 1.14.2
[11:54:41.326] + @dub/tailwind-config 0.0.4 <- ../../packages/tailwind-config
[11:54:41.326] + @dub/ui 0.0.52 <- ../../packages/ui
[11:54:41.326] + @dub/utils 0.0.29 <- ../../packages/utils
[11:54:41.326] + @next-auth/prisma-adapter 1.0.5
[11:54:41.326] + @planetscale/database 1.7.0
[11:54:41.326] + @prisma/client 5.2.0
[11:54:41.326] + @react-email/components 0.0.14
[11:54:41.326] + @react-email/render 0.0.12
[11:54:41.327] + @sindresorhus/slugify 2.2.1
[11:54:41.327] + @splinetool/react-spline 2.2.6
[11:54:41.327] + @splinetool/runtime 0.9.481
[11:54:41.328] + @stripe/stripe-js 1.44.1
[11:54:41.328] + @upstash/qstash 2.3.0
[11:54:41.328] + @upstash/ratelimit 0.3.6
[11:54:41.328] + @upstash/redis 1.25.1
[11:54:41.328] + @vercel/analytics 1.0.0
[11:54:41.328] + @vercel/edge 0.3.1
[11:54:41.328] + @vercel/edge-config 0.4.1
[11:54:41.328] + @vercel/og 0.6.2
[11:54:41.329] + @vercel/speed-insights 1.0.1
[11:54:41.329] + @visx/axis 2.14.0
[11:54:41.329] + @visx/event 2.6.0
[11:54:41.329] + @visx/geo 2.10.0
[11:54:41.329] + @visx/grid 2.12.2
[11:54:41.329] + @visx/responsive 2.10.0
[11:54:41.329] + @visx/scale 3.3.0
[11:54:41.329] + @visx/shape 2.12.2
[11:54:41.329] + @visx/tooltip 2.16.0
[11:54:41.329] + bottleneck 2.19.5
[11:54:41.329] + cloudinary 1.40.0
[11:54:41.329] + cmdk 0.2.0
[11:54:41.329] + cobe 0.6.3
[11:54:41.329] + concurrently 8.0.1
[11:54:41.329] + crisp-sdk-web 1.0.19
[11:54:41.330] + framer-motion 10.18.0
[11:54:41.330] + fuse.js 6.6.2
[11:54:41.330] + github-slugger 2.0.0
[11:54:41.330] + he 1.2.0
[11:54:41.330] + html-escaper 3.0.3
[11:54:41.330] + js-cookie 3.0.5
[11:54:41.330] + lucide-react 0.299.0
[11:54:41.330] + nanoid 5.0.1
[11:54:41.330] + next 14.1.1-canary.70
[11:54:41.330] + next-auth 4.24.4
[11:54:41.330] + node-html-parser 6.1.4
[11:54:41.330] + nodemailer 6.9.3
[11:54:41.330] + npm 9.1.2
[11:54:41.330] + openapi-types 12.1.3
[11:54:41.330] + postmark 4.0.2
[11:54:41.330] + prisma 5.2.0
[11:54:41.331] + punycode 2.3.0
[11:54:41.331] + react 18.2.0
[11:54:41.331] + react-colorful 5.6.1
[11:54:41.331] + react-dom 18.2.0
[11:54:41.331] + react-dom-confetti 0.2.0
[11:54:41.331] + react-email 2.0.0
[11:54:41.331] + react-highlight-words 0.20.0
[11:54:41.331] + react-medium-image-zoom 5.1.7
[11:54:41.331] + react-parallax-tilt 1.7.70
[11:54:41.331] + react-spring 9.5.5
[11:54:41.331] + react-textarea-autosize 8.4.0
[11:54:41.331] + react-tweet 3.1.1
[11:54:41.331] + rehype-autolink-headings 6.1.1
[11:54:41.331] + rehype-pretty-code 0.9.5
[11:54:41.331] + rehype-slug 5.1.0
[11:54:41.332] + remark-gfm 3.0.1
[11:54:41.332] + shiki 0.14.1
[11:54:41.332] + sonner 0.5.0
[11:54:41.332] + stripe 12.12.0
[11:54:41.332] + swr 2.1.5
[11:54:41.332] + topojson-client 3.1.0
[11:54:41.332] + unsplash-js 7.0.18
[11:54:41.332] + use-debounce 8.0.4
[11:54:41.332] + vaul 0.6.8
[11:54:41.332] 
[11:54:41.332] devDependencies:
[11:54:41.332] + @types/dotenv-flow 3.3.2
[11:54:41.332] + @types/he 1.2.3
[11:54:41.332] + @types/html-escaper 3.0.0
[11:54:41.333] + @types/ms 0.7.31
[11:54:41.333] + @types/node 18.11.9
[11:54:41.333] + @types/react 18.2.48
[11:54:41.333] + @types/react-dom 18.2.14
[11:54:41.333] + @types/react-highlight-words 0.16.4
[11:54:41.333] + @types/topojson-client 3.1.1
[11:54:41.333] + array-to-ndjson 1.0.1
[11:54:41.333] + autoprefixer 10.4.16
[11:54:41.333] + dotenv-flow 4.0.0
[11:54:41.333] + papaparse 5.4.1
[11:54:41.333] + postcss 8.4.31
[11:54:41.333] + postcss-import 15.1.0
[11:54:41.333] + prettier 3.2.5
[11:54:41.333] + prettier-plugin-organize-imports 3.2.4
[11:54:41.334] + prettier-plugin-tailwindcss 0.5.11
[11:54:41.334] + tailwindcss 3.3.3
[11:54:41.334] + tsx 3.14.0
[11:54:41.334] + turbo 1.10.14
[11:54:41.334] + typescript 5.1.6
[11:54:41.334] 
[11:54:41.423] Done in 47.1s
[11:54:41.476] Detected Next.js version: 14.1.1-canary.70
[11:54:41.477] Running "turbo run build"
[11:54:41.558] 
[11:54:41.558] Attention:
[11:54:41.559] Turborepo now collects completely anonymous telemetry regarding usage.
[11:54:41.559] This information is used to shape the Turborepo roadmap and prioritize features.
[11:54:41.560] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[11:54:41.560] https://turbo.build/repo/docs/telemetry
[11:54:41.561] 
[11:54:41.626] • Packages in scope: web
[11:54:41.626] • Running build in 1 packages
[11:54:41.626] • Remote caching enabled
[11:54:41.837] @dub/utils:build: cache hit, replaying logs 564e179bede25501
[11:54:41.838] @dub/utils:build: 
[11:54:41.838] @dub/utils:build: > @dub/utils@0.0.29 build /vercel/path0/packages/utils
[11:54:41.838] @dub/utils:build: > tsup
[11:54:41.838] @dub/utils:build: 
[11:54:41.838] @dub/utils:build: CLI Building entry: src/index.ts, src/constants/cctlds.ts, src/constants/countries.ts, src/constants/domains.ts, src/constants/framer-motion.ts, src/constants/index.ts, src/constants/layout.ts, src/constants/localhost.ts, src/constants/middleware.ts, src/constants/misc.ts, src/constants/saml.ts, src/functions/capitalize.ts, src/functions/chunk.ts, src/functions/cn.ts, src/functions/construct-metadata.ts, src/functions/datetime.ts, src/functions/deep-equal.ts, src/functions/domains.ts, src/functions/fetch-with-timeout.ts, src/functions/fetcher.ts, src/functions/hash.ts, src/functions/index.ts, src/functions/is-iframeable.ts, src/functions/link-constructor.ts, src/functions/log.ts, src/functions/misc.ts, src/functions/nanoid.ts, src/functions/nformatter.ts, src/functions/time-ago.ts, src/functions/truncate.ts, src/functions/urls.ts
[11:54:41.839] @dub/utils:build: CLI Using tsconfig: tsconfig.json
[11:54:41.840] @dub/utils:build: CLI tsup v6.1.3
[11:54:41.840] @dub/utils:build: CLI Using tsup config: /vercel/path0/packages/utils/tsup.config.ts
[11:54:41.840] @dub/utils:build: CLI Target: node14
[11:54:41.840] @dub/utils:build: ESM Build start
[11:54:41.840] @dub/utils:build: ESM ⚡️ Build success in 54ms
[11:54:41.841] @dub/utils:build: ESM dist/index.mjs                        3.10 KB
[11:54:41.841] @dub/utils:build: ESM dist/chunk-SPSUTBZ7.mjs               0 B
[11:54:41.841] @dub/utils:build: ESM dist/constants/cctlds.mjs             58.00 B
[11:54:41.841] @dub/utils:build: ESM dist/chunk-GGIZK3EO.mjs               833.00 B
[11:54:41.841] @dub/utils:build: ESM dist/chunk-6Q2MCPZP.mjs               140.00 B
[11:54:41.841] @dub/utils:build: ESM dist/chunk-OWYWG4M6.mjs               140.00 B
[11:54:41.841] @dub/utils:build: ESM dist/chunk-I5Y5DKPK.mjs               437.00 B
[11:54:41.841] @dub/utils:build: ESM dist/chunk-MPU6JRPV.mjs               317.00 B
[11:54:41.841] @dub/utils:build: ESM dist/chunk-ZJKRLIJQ.mjs               70.00 B
[11:54:41.841] @dub/utils:build: ESM dist/chunk-ZECUYKGD.mjs               256.00 B
[11:54:41.841] @dub/utils:build: ESM dist/chunk-VEUP2DC6.mjs               1.32 KB
[11:54:41.842] @dub/utils:build: ESM dist/chunk-UUWTKITJ.mjs               1.11 KB
[11:54:41.842] @dub/utils:build: ESM dist/chunk-EMO4MGOU.mjs               256.00 B
[11:54:41.842] @dub/utils:build: ESM dist/chunk-6XPTKHZD.mjs               149.00 B
[11:54:41.842] @dub/utils:build: ESM dist/chunk-XWSEDYR7.mjs               193.00 B
[11:54:41.842] @dub/utils:build: ESM dist/chunk-3BUV2ANI.mjs               326.00 B
[11:54:41.842] @dub/utils:build: ESM dist/chunk-5PD4TPH7.mjs               216.00 B
[11:54:41.842] @dub/utils:build: ESM dist/chunk-GTQBILTE.mjs               98.00 B
[11:54:41.842] @dub/utils:build: ESM dist/chunk-2OJAP233.mjs               113.00 B
[11:54:41.843] @dub/utils:build: ESM dist/chunk-NEIHTFSW.mjs               117.00 B
[11:54:41.843] @dub/utils:build: ESM dist/chunk-2TURBZEL.mjs               849.00 B
[11:54:41.843] @dub/utils:build: ESM dist/chunk-LXJVNY3R.mjs               860.00 B
[11:54:41.843] @dub/utils:build: ESM dist/constants/countries.mjs          61.00 B
[11:54:41.843] @dub/utils:build: ESM dist/constants/domains.mjs            100.00 B
[11:54:41.843] @dub/utils:build: ESM dist/constants/framer-motion.mjs      187.00 B
[11:54:41.843] @dub/utils:build: ESM dist/constants/index.mjs              1.45 KB
[11:54:41.843] @dub/utils:build: ESM dist/chunk-VTLX43W7.mjs               6.52 KB
[11:54:41.844] @dub/utils:build: ESM dist/chunk-5VUO5P2B.mjs               504.00 B
[11:54:41.844] @dub/utils:build: ESM dist/chunk-PXSGKN2A.mjs               287.00 B
[11:54:41.844] @dub/utils:build: ESM dist/chunk-PUFZASP4.mjs               573.00 B
[11:54:41.844] @dub/utils:build: ESM dist/chunk-YUMUNL66.mjs               1.36 KB
[11:54:41.844] @dub/utils:build: ESM dist/chunk-2RCZ6Q6L.mjs               3.94 KB
[11:54:41.844] @dub/utils:build: ESM dist/chunk-SYT2IXG6.mjs               194.00 B
[11:54:41.844] @dub/utils:build: ESM dist/chunk-2SICE2ZS.mjs               403.00 B
[11:54:41.844] @dub/utils:build: ESM dist/constants/layout.mjs             114.00 B
[11:54:41.844] @dub/utils:build: ESM dist/chunk-WE5LUVZO.mjs               486.00 B
[11:54:41.844] @dub/utils:build: ESM dist/constants/localhost.mjs          90.00 B
[11:54:41.844] @dub/utils:build: ESM dist/chunk-FYXE2IZT.mjs               135.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/log.mjs                55.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/misc.mjs               370.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/nanoid.mjs             58.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/nformatter.mjs         62.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/time-ago.mjs           59.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/truncate.mjs           60.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/urls.mjs               218.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/deep-equal.mjs         61.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/domains.mjs            558.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/fetch-with-timeout.mjs 68.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/fetcher.mjs            59.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/hash.mjs               67.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/index.mjs              1.94 KB
[11:54:41.845] @dub/utils:build: ESM dist/functions/is-iframeable.mjs      64.00 B
[11:54:41.845] @dub/utils:build: ESM dist/functions/link-constructor.mjs   67.00 B
[11:54:41.845] @dub/utils:build: ESM dist/constants/middleware.mjs         88.00 B
[11:54:41.845] @dub/utils:build: ESM dist/constants/misc.mjs               148.00 B
[11:54:41.845] @dub/utils:build: ESM dist/constants/saml.mjs               66.00 B
[11:54:41.846] @dub/utils:build: ESM dist/functions/capitalize.mjs         62.00 B
[11:54:41.846] @dub/utils:build: ESM dist/functions/chunk.mjs              57.00 B
[11:54:41.846] @dub/utils:build: ESM dist/functions/cn.mjs                 54.00 B
[11:54:41.846] @dub/utils:build: ESM dist/functions/construct-metadata.mjs 369.00 B
[11:54:41.846] @dub/utils:build: ESM dist/functions/datetime.mjs           200.00 B
[11:54:41.846] @dub/utils:build: DTS Build start
[11:54:41.846] @dub/utils:build: DTS ⚡️ Build success in 2717ms
[11:54:41.846] @dub/utils:build: DTS dist/index.d.ts                        2.46 KB
[11:54:41.846] @dub/utils:build: DTS dist/constants/index.d.ts              8.26 KB
[11:54:41.846] @dub/utils:build: DTS dist/functions/capitalize.d.ts         101.00 B
[11:54:41.846] @dub/utils:build: DTS dist/functions/chunk.d.ts              86.00 B
[11:54:41.846] @dub/utils:build: DTS dist/functions/cn.d.ts                 106.00 B
[11:54:41.846] @dub/utils:build: DTS dist/functions/construct-metadata.d.ts 285.00 B
[11:54:41.846] @dub/utils:build: DTS dist/functions/datetime.d.ts           549.00 B
[11:54:41.846] @dub/utils:build: DTS dist/functions/deep-equal.d.ts         143.00 B
[11:54:41.846] @dub/utils:build: DTS dist/functions/domains.d.ts            595.00 B
[11:54:41.846] @dub/utils:build: DTS dist/functions/fetch-with-timeout.d.ts 160.00 B
[11:54:41.846] @dub/utils:build: DTS dist/functions/fetcher.d.ts            114.00 B
[11:54:41.846] @dub/utils:build: DTS dist/functions/hash.d.ts               97.00 B
[11:54:41.846] @dub/utils:build: DTS dist/functions/is-iframeable.d.ts      150.00 B
[11:54:41.846] @dub/utils:build: DTS dist/functions/link-constructor.d.ts   233.00 B
[11:54:41.846] @dub/utils:build: DTS dist/functions/log.d.ts                227.00 B
[11:54:41.847] @dub/utils:build: DTS dist/functions/misc.d.ts               2.14 KB
[11:54:41.847] @dub/utils:build: DTS dist/functions/nanoid.d.ts             70.00 B
[11:54:41.847] @dub/utils:build: DTS dist/functions/nformatter.d.ts         128.00 B
[11:54:41.847] @dub/utils:build: DTS dist/functions/time-ago.d.ts           135.00 B
[11:54:41.847] @dub/utils:build: DTS dist/functions/truncate.d.ts           101.00 B
[11:54:41.847] @dub/utils:build: DTS dist/functions/urls.d.ts               678.00 B
[11:54:41.847] @dub/utils:build: DTS dist/constants/cctlds.d.ts             55.00 B
[11:54:41.847] @dub/utils:build: DTS dist/constants/countries.d.ts          80.00 B
[11:54:41.847] @dub/utils:build: DTS dist/constants/domains.d.ts            154.00 B
[11:54:41.847] @dub/utils:build: DTS dist/constants/framer-motion.d.ts      1.11 KB
[11:54:41.847] @dub/utils:build: DTS dist/constants/layout.d.ts             254.00 B
[11:54:41.847] @dub/utils:build: DTS dist/constants/localhost.d.ts          235.00 B
[11:54:41.847] @dub/utils:build: DTS dist/constants/middleware.d.ts         407.00 B
[11:54:41.847] @dub/utils:build: DTS dist/constants/misc.d.ts               595.00 B
[11:54:41.847] @dub/utils:build: DTS dist/constants/saml.d.ts               254.00 B
[11:54:41.847] @dub/utils:build: DTS dist/functions/index.d.ts              1.20 KB
[11:54:42.059] @dub/ui:build: cache hit, replaying logs 6b619354b3e1e206
[11:54:42.059] @dub/ui:build: 
[11:54:42.059] @dub/ui:build: > @dub/ui@0.0.52 build /vercel/path0/packages/ui
[11:54:42.059] @dub/ui:build: > tsup
[11:54:42.059] @dub/ui:build: 
[11:54:42.059] @dub/ui:build: CLI Building entry: src/accordion.tsx, src/avatar.tsx, src/background.tsx, src/badge.tsx, src/blur-image.tsx, src/button.tsx, src/checkbox.tsx, src/copy-button.tsx, src/footer.tsx, src/form.tsx, src/icon-menu.tsx, src/index.tsx, src/inline-snippet.tsx, src/input-select.tsx, src/label.tsx, src/link-preview.tsx, src/max-width-wrapper.tsx, src/modal.tsx, src/nav-mobile.tsx, src/nav.tsx, src/popover.tsx, src/radio-group.tsx, src/switch.tsx, src/tab-select.tsx, src/tooltip.tsx, src/hooks/use-toast-with-undo.tsx, src/icons/copy.tsx, src/icons/expanding-arrow.tsx, src/icons/facebook.tsx, src/icons/github.tsx, src/icons/google.tsx, src/icons/index.tsx, src/icons/linkedin.tsx, src/icons/loading-circle.tsx, src/icons/loading-dots.tsx, src/icons/loading-spinner.tsx, src/icons/logo.tsx, src/icons/logotype.tsx, src/icons/magic.tsx, src/icons/photo.tsx, src/icons/success.tsx, src/icons/tick.tsx, src/icons/twitter.tsx, src/icons/unsplash.tsx, src/icons/youtube.tsx
[11:54:42.059] @dub/ui:build: CLI Using tsconfig: tsconfig.json
[11:54:42.059] @dub/ui:build: CLI tsup v6.1.3
[11:54:42.059] @dub/ui:build: CLI Using tsup config: /vercel/path0/packages/ui/tsup.config.ts
[11:54:42.059] @dub/ui:build: CLI Target: node14
[11:54:42.059] @dub/ui:build: ESM Build start
[11:54:42.059] @dub/ui:build: DTS Build start
[11:54:42.059] @dub/ui:build: ESM ⚡️ Build success in 2196ms
[11:54:42.059] @dub/ui:build: ESM dist/tooltip.mjs                   271.00 B
[11:54:42.059] @dub/ui:build: ESM dist/hooks/use-toast-with-undo.mjs 132.00 B
[11:54:42.059] @dub/ui:build: ESM dist/icons/copy.mjs                102.00 B
[11:54:42.059] @dub/ui:build: ESM dist/icons/expanding-arrow.mjs     132.00 B
[11:54:42.060] @dub/ui:build: ESM dist/icons/facebook.mjs            102.00 B
[11:54:42.060] @dub/ui:build: ESM dist/icons/github.mjs              102.00 B
[11:54:42.060] @dub/ui:build: ESM dist/icons/google.mjs              102.00 B
[11:54:42.060] @dub/ui:build: ESM dist/icons/index.mjs               1.08 KB
[11:54:42.060] @dub/ui:build: ESM dist/max-width-wrapper.mjs         137.00 B
[11:54:42.060] @dub/ui:build: ESM dist/modal.mjs                     214.00 B
[11:54:42.060] @dub/ui:build: ESM dist/nav-mobile.mjs                827.00 B
[11:54:42.060] @dub/ui:build: ESM dist/nav.mjs                       808.00 B
[11:54:42.060] @dub/ui:build: ESM dist/popover.mjs                   216.00 B
[11:54:42.060] @dub/ui:build: ESM dist/radio-group.mjs               154.00 B
[11:54:42.060] @dub/ui:build: ESM dist/switch.mjs                    157.00 B
[11:54:42.060] @dub/ui:build: ESM dist/tab-select.mjs                131.00 B
[11:54:42.060] @dub/ui:build: ESM dist/footer.mjs                    737.00 B
[11:54:42.060] @dub/ui:build: ESM dist/form.mjs                      735.00 B
[11:54:42.060] @dub/ui:build: ESM dist/icon-menu.mjs                 101.00 B
[11:54:42.060] @dub/ui:build: ESM dist/index.mjs                     3.13 KB
[11:54:42.060] @dub/ui:build: ESM dist/chunk-ZCLMPLS2.mjs            1.44 KB
[11:54:42.060] @dub/ui:build: ESM dist/chunk-VGD3XYUG.mjs            2.31 KB
[11:54:42.060] @dub/ui:build: ESM dist/chunk-XA23XJGJ.mjs            4.29 KB
[11:54:42.060] @dub/ui:build: ESM dist/chunk-R4TJLK7M.mjs            1.27 KB
[11:54:42.060] @dub/ui:build: ESM dist/chunk-YOJQNL4R.mjs            840.00 B
[11:54:42.060] @dub/ui:build: ESM dist/chunk-C5HQZIHY.mjs            1.26 KB
[11:54:42.060] @dub/ui:build: ESM dist/chunk-PTXSZVWF.mjs            657.00 B
[11:54:42.060] @dub/ui:build: ESM dist/chunk-KKANN6BX.mjs            5.59 KB
[11:54:42.060] @dub/ui:build: ESM dist/chunk-A75RGEGE.mjs            768.00 B
[11:54:42.060] @dub/ui:build: ESM dist/chunk-Q3YQ34T3.mjs            240.00 B
[11:54:42.060] @dub/ui:build: ESM dist/chunk-OCWY7AWV.mjs            1.64 KB
[11:54:42.060] @dub/ui:build: ESM dist/chunk-Z4MSMGYC.mjs            232.00 B
[11:54:42.060] @dub/ui:build: ESM dist/inline-snippet.mjs            106.00 B
[11:54:42.060] @dub/ui:build: ESM dist/chunk-O5BHK57C.mjs            198.00 B
[11:54:42.060] @dub/ui:build: ESM dist/input-select.mjs              104.00 B
[11:54:42.060] @dub/ui:build: ESM dist/chunk-WSAODKH7.mjs            2.51 KB
[11:54:42.060] @dub/ui:build: ESM dist/label.mjs                     127.00 B
[11:54:42.060] @dub/ui:build: ESM dist/chunk-IJAEOCDI.mjs            438.00 B
[11:54:42.063] @dub/ui:build: ESM dist/link-preview.mjs              772.00 B
[11:54:42.063] @dub/ui:build: ESM dist/chunk-WYCT3UJB.mjs            3.25 KB
[11:54:42.063] @dub/ui:build: ESM dist/chunk-IJLZICGB.mjs            3.78 KB
[11:54:42.063] @dub/ui:build: ESM dist/chunk-XDXOOSPE.mjs            879.00 B
[11:54:42.064] @dub/ui:build: ESM dist/accordion.mjs                 200.00 B
[11:54:42.064] @dub/ui:build: ESM dist/chunk-ZQMO76GU.mjs            1.07 KB
[11:54:42.064] @dub/ui:build: ESM dist/avatar.mjs                    147.00 B
[11:54:42.064] @dub/ui:build: ESM dist/chunk-ZBDIFLI7.mjs            704.00 B
[11:54:42.064] @dub/ui:build: ESM dist/background.mjs                103.00 B
[11:54:42.064] @dub/ui:build: ESM dist/chunk-5B3S5OJK.mjs            1.58 KB
[11:54:42.064] @dub/ui:build: ESM dist/badge.mjs                     148.00 B
[11:54:42.064] @dub/ui:build: ESM dist/chunk-U47LCJRM.mjs            797.00 B
[11:54:42.064] @dub/ui:build: ESM dist/blur-image.mjs                131.00 B
[11:54:42.064] @dub/ui:build: ESM dist/chunk-EM7JQKIF.mjs            565.00 B
[11:54:42.064] @dub/ui:build: ESM dist/button.mjs                    708.00 B
[11:54:42.064] @dub/ui:build: ESM dist/chunk-U6V3WT5Y.mjs            2.14 KB
[11:54:42.064] @dub/ui:build: ESM dist/chunk-TVBQFM6T.mjs            2.63 KB
[11:54:42.064] @dub/ui:build: ESM dist/checkbox.mjs                  130.00 B
[11:54:42.064] @dub/ui:build: ESM dist/chunk-3OYCRJV5.mjs            613.00 B
[11:54:42.066] @dub/ui:build: ESM dist/copy-button.mjs               683.00 B
[11:54:42.066] @dub/ui:build: ESM dist/chunk-GT6GSDBR.mjs            829.00 B
[11:54:42.066] @dub/ui:build: ESM dist/chunk-YPE32NUI.mjs            13.00 B
[11:54:42.066] @dub/ui:build: ESM dist/chunk-EHYVEIOL.mjs            342.00 B
[11:54:42.066] @dub/ui:build: ESM dist/chunk-VWVFVW4E.mjs            422.00 B
[11:54:42.066] @dub/ui:build: ESM dist/chunk-GSQUGPJ2.mjs            312.00 B
[11:54:42.067] @dub/ui:build: ESM dist/chunk-B5QYWKCW.mjs            1.16 KB
[11:54:42.067] @dub/ui:build: ESM dist/chunk-BDMXJXHH.mjs            572.00 B
[11:54:42.067] @dub/ui:build: ESM dist/chunk-7NLE2HUU.mjs            1.33 KB
[11:54:42.067] @dub/ui:build: ESM dist/chunk-QA2KCGIR.mjs            353.00 B
[11:54:42.067] @dub/ui:build: ESM dist/chunk-5AM3ASS6.mjs            558.00 B
[11:54:42.067] @dub/ui:build: ESM dist/chunk-4POC4S75.mjs            979.00 B
[11:54:42.067] @dub/ui:build: ESM dist/chunk-FCVYAFIW.mjs            3.48 KB
[11:54:42.067] @dub/ui:build: ESM dist/chunk-YURUGH4S.mjs            3.62 KB
[11:54:42.067] @dub/ui:build: ESM dist/chunk-2TGXECZQ.mjs            456.00 B
[11:54:42.067] @dub/ui:build: ESM dist/chunk-Z5P2KHPP.mjs            541.00 B
[11:54:42.067] @dub/ui:build: ESM dist/chunk-OW7RDAAA.mjs            1017.00 B
[11:54:42.067] @dub/ui:build: ESM dist/chunk-MURAUI3W.mjs            512.00 B
[11:54:42.067] @dub/ui:build: ESM dist/chunk-T4YFARK5.mjs            962.00 B
[11:54:42.067] @dub/ui:build: ESM dist/chunk-QROG2QLI.mjs            902.00 B
[11:54:42.067] @dub/ui:build: ESM dist/chunk-XSZV33MB.mjs            437.00 B
[11:54:42.067] @dub/ui:build: ESM dist/chunk-BXJGDOV2.mjs            29.74 KB
[11:54:42.067] @dub/ui:build: ESM dist/chunk-AUBFB4SI.mjs            557.00 B
[11:54:42.067] @dub/ui:build: ESM dist/index.css                     41.41 KB
[11:54:42.067] @dub/ui:build: ESM dist/icons/success.mjs             102.00 B
[11:54:42.067] @dub/ui:build: ESM dist/icons/tick.mjs                102.00 B
[11:54:42.067] @dub/ui:build: ESM dist/icons/twitter.mjs             102.00 B
[11:54:42.067] @dub/ui:build: ESM dist/icons/unsplash.mjs            102.00 B
[11:54:42.067] @dub/ui:build: ESM dist/icons/youtube.mjs             102.00 B
[11:54:42.067] @dub/ui:build: ESM dist/icons/linkedin.mjs            102.00 B
[11:54:42.067] @dub/ui:build: ESM dist/icons/loading-circle.mjs      132.00 B
[11:54:42.067] @dub/ui:build: ESM dist/icons/loading-dots.mjs        102.00 B
[11:54:42.067] @dub/ui:build: ESM dist/icons/loading-spinner.mjs     132.00 B
[11:54:42.067] @dub/ui:build: ESM dist/icons/logo.mjs                132.00 B
[11:54:42.067] @dub/ui:build: ESM dist/icons/logotype.mjs            132.00 B
[11:54:42.067] @dub/ui:build: ESM dist/icons/magic.mjs               102.00 B
[11:54:42.067] @dub/ui:build: ESM dist/icons/photo.mjs               102.00 B
[11:54:42.067] @dub/ui:build: DTS ⚡️ Build success in 6995ms
[11:54:42.067] @dub/ui:build: DTS dist/accordion.d.ts                 943.00 B
[11:54:42.067] @dub/ui:build: DTS dist/avatar.d.ts                    435.00 B
[11:54:42.067] @dub/ui:build: DTS dist/background.d.ts                143.00 B
[11:54:42.067] @dub/ui:build: DTS dist/badge.d.ts                     679.00 B
[11:54:42.067] @dub/ui:build: DTS dist/blur-image.d.ts                199.00 B
[11:54:42.067] @dub/ui:build: DTS dist/button.d.ts                    565.00 B
[11:54:42.067] @dub/ui:build: DTS dist/checkbox.d.ts                  303.00 B
[11:54:42.067] @dub/ui:build: DTS dist/copy-button.d.ts               284.00 B
[11:54:42.067] @dub/ui:build: DTS dist/footer.d.ts                    135.00 B
[11:54:42.067] @dub/ui:build: DTS dist/form.d.ts                      528.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icon-menu.d.ts                 270.00 B
[11:54:42.068] @dub/ui:build: DTS dist/index.d.ts                     4.88 KB
[11:54:42.068] @dub/ui:build: DTS dist/input-select.d.ts              638.00 B
[11:54:42.068] @dub/ui:build: DTS dist/label.d.ts                     526.00 B
[11:54:42.068] @dub/ui:build: DTS dist/modal.d.ts                     502.00 B
[11:54:42.068] @dub/ui:build: DTS dist/popover.d.ts                   478.00 B
[11:54:42.068] @dub/ui:build: DTS dist/radio-group.d.ts               525.00 B
[11:54:42.068] @dub/ui:build: DTS dist/switch.d.ts                    579.00 B
[11:54:42.068] @dub/ui:build: DTS dist/tooltip.d.ts                   1.43 KB
[11:54:42.068] @dub/ui:build: DTS dist/hooks/use-toast-with-undo.d.ts 241.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/copy.d.ts                184.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/expanding-arrow.d.ts     204.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/magic.d.ts               185.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/photo.d.ts               186.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/success.d.ts             190.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/tick.d.ts                183.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/loading-circle.d.ts      202.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/loading-dots.d.ts        156.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/loading-spinner.d.ts     204.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/logo.d.ts                184.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/logotype.d.ts            192.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/facebook.d.ts            218.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/github.d.ts              188.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/google.d.ts              188.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/linkedin.d.ts            192.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/twitter.d.ts             190.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/unsplash.d.ts            192.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/youtube.d.ts             190.00 B
[11:54:42.068] @dub/ui:build: DTS dist/max-width-wrapper.d.ts         266.00 B
[11:54:42.068] @dub/ui:build: DTS dist/nav.d.ts                       206.00 B
[11:54:42.068] @dub/ui:build: DTS dist/nav-mobile.d.ts                141.00 B
[11:54:42.068] @dub/ui:build: DTS dist/inline-snippet.d.ts            189.00 B
[11:54:42.068] @dub/ui:build: DTS dist/link-preview.d.ts              332.00 B
[11:54:42.068] @dub/ui:build: DTS dist/tab-select.d.ts                271.00 B
[11:54:42.068] @dub/ui:build: DTS dist/icons/index.d.ts               976.00 B
[11:54:42.171] web:build: cache miss, executing af40ec54d2a3c3b7
[11:54:42.685] web:build: 
[11:54:42.686] web:build: > web@ build /vercel/path0/apps/web
[11:54:42.686] web:build: > prisma generate & next build
[11:54:42.686] web:build: 
[11:54:43.579] web:build: Prisma schema loaded from prisma/schema.prisma
[11:54:44.212] web:build: Attention: Next.js now collects completely anonymous telemetry regarding usage.
[11:54:44.217] web:build: This information is used to shape Next.js' roadmap and prioritize features.
[11:54:44.217] web:build: You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[11:54:44.218] web:build: https://nextjs.org/telemetry
[11:54:44.218] web:build: 
[11:54:44.340] web:build:    ▲ Next.js 14.1.1-canary.70
[11:54:44.341] web:build:    - Experiments (use with caution):
[11:54:44.341] web:build:      · useDeploymentId
[11:54:44.342] web:build:      · useDeploymentIdServerActions
[11:54:44.342] web:build: 
[11:54:44.475] web:build:    Creating an optimized production build ...
[11:54:44.939] web:build: 
[11:54:44.940] web:build: ✔ Generated Prisma Client (v5.2.0) to ./../../node_modules/.pnpm/@prisma+client@5.2.0_prisma@5.2.0/node_modules/@prisma/client in 614ms
[11:54:44.940] web:build: Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
[11:54:44.941] web:build: ```
[11:54:44.941] web:build: import { PrismaClient } from '@prisma/client'
[11:54:44.941] web:build: const prisma = new PrismaClient()
[11:54:44.941] web:build: ```
[11:54:44.941] web:build: or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
[11:54:44.941] web:build: ```
[11:54:44.942] web:build: import { PrismaClient } from '@prisma/client/edge'
[11:54:44.942] web:build: const prisma = new PrismaClient()
[11:54:44.942] web:build: ```
[11:54:44.942] web:build: 
[11:54:44.942] web:build: See other ways of importing Prisma Client: http://pris.ly/d/importing-client
[11:54:44.942] web:build: 
[11:57:04.419] web:build:  ⚠ Compiled with warnings
[11:57:04.420] web:build: 
[11:57:04.421] web:build: ../../node_modules/.pnpm/next@14.1.1-canary.70_@babel+core@7.23.0_@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/esm/client/components/navigation.js
[11:57:04.421] web:build: Attempted import error: 'useContext' is not exported from 'react' (imported as 'useContext').
[11:57:04.421] web:build: 
[11:57:04.421] web:build: Import trace for requested module:
[11:57:04.421] web:build: ../../node_modules/.pnpm/next@14.1.1-canary.70_@babel+core@7.23.0_@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/esm/client/components/navigation.js
[11:57:04.422] web:build: ../../node_modules/.pnpm/next@14.1.1-canary.70_@babel+core@7.23.0_@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/esm/api/navigation.js
[11:57:04.422] web:build: ./app/proxy/[domain]/[key]/page.tsx
[11:57:04.422] web:build: ../../node_modules/.pnpm/next@14.1.1-canary.70_@babel+core@7.23.0_@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fproxy%2F%5Bdomain%5D%2F%5Bkey%5D%2Fpage&page=%2Fproxy%2F%5Bdomain%5D%2F%5Bkey%5D%2Fpage&pagePath=private-next-app-dir%2Fproxy%2F%5Bdomain%5D%2F%5Bkey%5D%2Fpage.tsx&appDir=%2Fvercel%2Fpath0%2Fapps%2Fweb%2Fapp&appPaths=%2Fproxy%2F%5Bdomain%5D%2F%5Bkey%5D%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!./app/proxy/[domain]/[key]/page.tsx?__next_edge_ssr_entry__
[11:57:04.423] web:build: 
[11:57:04.424] web:build: ../../node_modules/.pnpm/next@14.1.1-canary.70_@babel+core@7.23.0_@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/esm/client/components/navigation.js
[11:57:04.424] web:build: Attempted import error: 'useContext' is not exported from 'react' (imported as 'useContext').
[11:57:04.424] web:build: 
[11:57:04.424] web:build: Import trace for requested module:
[11:57:04.424] web:build: ../../node_modules/.pnpm/next@14.1.1-canary.70_@babel+core@7.23.0_@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/esm/client/components/navigation.js
[11:57:04.424] web:build: ../../node_modules/.pnpm/next@14.1.1-canary.70_@babel+core@7.23.0_@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/esm/api/navigation.js
[11:57:04.425] web:build: ./app/proxy/[domain]/[key]/page.tsx
[11:57:04.425] web:build: ../../node_modules/.pnpm/next@14.1.1-canary.70_@babel+core@7.23.0_@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fproxy%2F%5Bdomain%5D%2F%5Bkey%5D%2Fpage&page=%2Fproxy%2F%5Bdomain%5D%2F%5Bkey%5D%2Fpage&pagePath=private-next-app-dir%2Fproxy%2F%5Bdomain%5D%2F%5Bkey%5D%2Fpage.tsx&appDir=%2Fvercel%2Fpath0%2Fapps%2Fweb%2Fapp&appPaths=%2Fproxy%2F%5Bdomain%5D%2F%5Bkey%5D%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!./app/proxy/[domain]/[key]/page.tsx?__next_edge_ssr_entry__
[11:57:04.425] web:build: 
[11:57:04.427] web:build:    Linting and checking validity of types ...
[11:57:21.084] web:build:    Collecting page data ...
[11:57:22.978] web:build: e: A valid API token must be provided.
[11:57:22.981] web:build:     at t.buildError (/vercel/path0/apps/web/.next/server/chunks/237.js:1:27182)
[11:57:22.981] web:build:     at t.verifyToken (/vercel/path0/apps/web/.next/server/chunks/237.js:1:13767)
[11:57:22.981] web:build:     at e.t (/vercel/path0/apps/web/.next/server/chunks/237.js:1:12511)
[11:57:22.982] web:build:     at new e (/vercel/path0/apps/web/.next/server/chunks/237.js:1:16689)
[11:57:22.982] web:build:     at 498197 (/vercel/path0/apps/web/.next/server/chunks/6339.js:1:1600)
[11:57:22.982] web:build:     at t (/vercel/path0/apps/web/.next/server/webpack-runtime.js:1:143)
[11:57:22.982] web:build:     at 242809 (/vercel/path0/apps/web/.next/server/chunks/6339.js:1:2187)
[11:57:22.983] web:build:     at t (/vercel/path0/apps/web/.next/server/webpack-runtime.js:1:143)
[11:57:22.983] web:build:     at 608667 (/vercel/path0/apps/web/.next/server/chunks/7051.js:1:7764)
[11:57:22.983] web:build:     at t (/vercel/path0/apps/web/.next/server/webpack-runtime.js:1:143) {
[11:57:22.983] web:build:   statusCode: 0,
[11:57:22.983] web:build:   code: 0
[11:57:22.983] web:build: }
[11:57:22.984] web:build: 
[11:57:22.984] web:build: > Build error occurred
[11:57:22.987] web:build: Error: Failed to collect page data for /api/admin/links/[linkId]/ban
[11:57:22.987] web:build:     at /vercel/path0/node_modules/.pnpm/next@14.1.1-canary.70_@babel+core@7.23.0_@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/utils.js:1268:15
[11:57:22.988] web:build:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
[11:57:22.988] web:build:   type: 'Error'
[11:57:22.988] web:build: }
[11:57:23.184] web:build:  ELIFECYCLE  Command failed with exit code 1.
[11:57:23.203] web:build: ERROR: command finished with error: command (/vercel/path0/apps/web) /pnpm8/node_modules/.bin/pnpm run build exited (1)
[11:57:23.203] web#build: command (/vercel/path0/apps/web) /pnpm8/node_modules/.bin/pnpm run build exited (1)
[11:57:23.206] 
[11:57:23.207]   Tasks:    2 successful, 3 total
[11:57:23.207]  Cached:    2 cached, 3 total
[11:57:23.207]    Time:    2m41.64s 
[11:57:23.207] Summary:    /vercel/path0/.turbo/runs/2cnUsYfZBJSGQYh8w2PoQSR4Shd.json
[11:57:23.207]  Failed:    web#build
[11:57:23.208] 
[11:57:23.211]  ERROR  run failed: command  exited (1)
[11:57:23.281] Error: Command "turbo run build" exited with 1
[11:57:24.249] 
linear[bot] commented 9 months ago

ENG-192 Build Failed on Vercel

Kenstogram commented 9 months ago

I found downgrading next versions to 14.1.0 cleared this error, but Im still having a bug where the callback isnt authenticating a user

steven-tey commented 9 months ago

This looks like an issue with /api/admin/[linkId]/ban route – can you try deleting that route and see if the issue persists?