dubinc / dub

Open-source link management infrastructure
https://dub.co
GNU Affero General Public License v3.0
16.83k stars 1.72k forks source link

Vercel deploy error #993

Open h4MeMengoding opened 2 weeks ago

h4MeMengoding commented 2 weeks ago

Hello, I have a problem when using self-hosting, I have done everything according to the documentation at https://dub.co/docs/self-hosting, but when I deploy to Vercel an error occurs:

Final error Error: The Edge Function "api/ai/completion" size is 1.03 MB and your plan size limit is 1 MB. Learn More: https://vercel.link/edge-function-size

Logs [18:06:59.715] web:build: [webpack.cache.PackFileCacheStrategy] Serializing big strings (104kiB) impacts deserialization performance (consider using Buffer instead and decode when needed) [18:07:31.478] web:build: Linting and checking validity of types ... [18:07:31.478] web:build: ⚠ Compiled with warnings [18:07:31.479] web:build: [18:07:31.479] web:build: ../../node_modules/.pnpm/@prisma+client@5.13.0_prisma@5.13.0/node_modules/.prisma/client/wasm-edge-light-loader.js [18:07:31.479] web:build: The generated code contains 'async/await' because this module is using "topLevelAwait". [18:07:31.479] web:build: However, your target environment does not appear to support 'async/await'. [18:07:31.479] web:build: As a result, the code may not run as expected or may cause runtime errors. [18:07:31.479] web:build: [18:07:31.479] web:build: Import trace for requested module: [18:07:31.479] web:build: ../../node_modules/.pnpm/@prisma+client@5.13.0_prisma@5.13.0/node_modules/.prisma/client/wasm-edge-light-loader.js [18:07:31.479] web:build: ../../node_modules/.pnpm/@prisma+client@5.13.0_prisma@5.13.0/node_modules/.prisma/client/wasm.js [18:07:31.479] web:build: ../../node_modules/.pnpm/@prisma+client@5.13.0_prisma@5.13.0/node_modules/.prisma/client/default.js [18:07:31.479] web:build: ../../node_modules/.pnpm/@prisma+client@5.13.0_prisma@5.13.0/node_modules/@prisma/client/default.js [18:07:31.479] web:build: ./lib/prisma/edge.ts [18:07:31.479] web:build: ./app/api/track/customer/route.ts [18:07:31.480] web:build: ../../node_modules/.pnpm/next@14.3.0-canary.42_@babel+core@7.23.0_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fapi%2Ftrack%2Fcustomer%2Froute&page=%2Fapi%2Ftrack%2Fcustomer%2Froute&pagePath=private-next-app-dir%2Fapi%2Ftrack%2Fcustomer%2Froute.ts&appDir=%2Fvercel%2Fpath0%2Fapps%2Fweb%2Fapp&appPaths=%2Fapi%2Ftrack%2Fcustomer%2Froute&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!./app/api/track/customer/route.ts?__next_edge_ssr_entry__ [18:07:31.480] web:build: [18:07:31.480] web:build: ../../node_modules/.pnpm/@prisma+client@5.13.0_prisma@5.13.0/node_modules/.prisma/client/wasm-edge-light-loader.js [18:07:31.480] web:build: The generated code contains 'async/await' because this module is using "topLevelAwait". [18:07:31.480] web:build: However, your target environment does not appear to support 'async/await'. [18:07:31.480] web:build: As a result, the code may not run as expected or may cause runtime errors. [18:07:31.480] web:build: [18:07:31.480] web:build: Import trace for requested module: [18:07:31.480] web:build: ../../node_modules/.pnpm/@prisma+client@5.13.0_prisma@5.13.0/node_modules/.prisma/client/wasm-edge-light-loader.js [18:07:31.480] web:build: ../../node_modules/.pnpm/@prisma+client@5.13.0_prisma@5.13.0/node_modules/.prisma/client/wasm.js [18:07:31.480] web:build: ../../node_modules/.pnpm/@prisma+client@5.13.0_prisma@5.13.0/node_modules/.prisma/client/default.js [18:07:31.480] web:build: ../../node_modules/.pnpm/@prisma+client@5.13.0_prisma@5.13.0/node_modules/@prisma/client/default.js [18:07:31.480] web:build: ./lib/prisma/edge.ts [18:07:31.480] web:build: ./lib/middleware/utils/get-default-workspace.ts [18:07:31.480] web:build: ./lib/middleware/app.ts [18:07:31.481] web:build: ./lib/middleware/index.ts [18:07:31.481] web:build: [18:07:31.481] web:build: ../../node_modules/.pnpm/@prisma+debug@5.13.0/node_modules/@prisma/debug/dist/index.js [18:07:31.481] web:build: A Node.js API is used (process.stdout at line: 68) which is not supported in the Edge Runtime. [18:07:31.481] web:build: Learn more: https://nextjs.org/docs/api-reference/edge-runtime [18:07:31.481] web:build: [18:07:31.481] web:build: Import trace for requested module: [18:07:31.481] web:build: ../../node_modules/.pnpm/@prisma+debug@5.13.0/node_modules/@prisma/debug/dist/index.js [18:07:31.481] web:build: ../../node_modules/.pnpm/@prisma+driver-adapter-utils@5.13.0/node_modules/@prisma/driver-adapter-utils/dist/index.mjs [18:07:31.481] web:build: ../../node_modules/.pnpm/@prisma+adapter-planetscale@5.13.0_@planetscale+database@1.18.0/node_modules/@prisma/adapter-planetscale/dist/index.mjs [18:07:31.481] web:build: ./lib/prisma/edge.ts [18:07:31.481] web:build: ./lib/middleware/utils/get-default-workspace.ts [18:07:31.481] web:build: ./lib/middleware/app.ts [18:07:31.481] web:build: ./lib/middleware/index.ts [18:07:31.481] web:build: [18:07:31.481] web:build: ../../node_modules/.pnpm/@prisma+debug@5.13.0/node_modules/@prisma/debug/dist/index.js [18:07:31.481] web:build: A Node.js API is used (process.stdout at line: 68) which is not supported in the Edge Runtime. [18:07:31.482] web:build: Learn more: https://nextjs.org/docs/api-reference/edge-runtime [18:07:31.482] web:build: [18:07:31.482] web:build: Import trace for requested module: [18:07:31.482] web:build: ../../node_modules/.pnpm/@prisma+debug@5.13.0/node_modules/@prisma/debug/dist/index.js [18:07:31.482] web:build: ../../node_modules/.pnpm/@prisma+driver-adapter-utils@5.13.0/node_modules/@prisma/driver-adapter-utils/dist/index.mjs [18:07:31.482] web:build: ../../node_modules/.pnpm/@prisma+adapter-planetscale@5.13.0_@planetscale+database@1.18.0/node_modules/@prisma/adapter-planetscale/dist/index.mjs [18:07:31.482] web:build: ./lib/prisma/edge.ts [18:07:31.482] web:build: ./lib/middleware/utils/get-default-workspace.ts [18:07:31.482] web:build: ./lib/middleware/app.ts [18:07:31.482] web:build: ./lib/middleware/index.ts [18:07:31.482] web:build: [18:07:31.482] web:build: ../../node_modules/.pnpm/@prisma+debug@5.13.0/node_modules/@prisma/debug/dist/index.js [18:07:31.482] web:build: A Node.js API is used (process.stderr at line: 149) which is not supported in the Edge Runtime. [18:07:31.482] web:build: Learn more: https://nextjs.org/docs/api-reference/edge-runtime [18:07:31.482] web:build: [18:07:31.482] web:build: Import trace for requested module: [18:07:31.483] web:build: ../../node_modules/.pnpm/@prisma+debug@5.13.0/node_modules/@prisma/debug/dist/index.js [18:07:31.483] web:build: ../../node_modules/.pnpm/@prisma+driver-adapter-utils@5.13.0/node_modules/@prisma/driver-adapter-utils/dist/index.mjs [18:07:31.483] web:build: ../../node_modules/.pnpm/@prisma+adapter-planetscale@5.13.0_@planetscale+database@1.18.0/node_modules/@prisma/adapter-planetscale/dist/index.mjs [18:07:31.483] web:build: ./lib/prisma/edge.ts [18:07:31.483] web:build: ./lib/middleware/utils/get-default-workspace.ts [18:07:31.483] web:build: ./lib/middleware/app.ts [18:07:31.483] web:build: ./lib/middleware/index.ts [18:07:31.483] web:build: [18:07:31.483] web:build: ../../node_modules/.pnpm/@prisma+debug@5.13.0/node_modules/@prisma/debug/dist/index.js [18:07:31.483] web:build: A Node.js API is used (process.stderr at line: 149) which is not supported in the Edge Runtime. [18:07:31.483] web:build: Learn more: https://nextjs.org/docs/api-reference/edge-runtime [18:07:31.483] web:build: [18:07:31.483] web:build: Import trace for requested module: [18:07:31.483] web:build: ../../node_modules/.pnpm/@prisma+debug@5.13.0/node_modules/@prisma/debug/dist/index.js [18:07:31.483] web:build: ../../node_modules/.pnpm/@prisma+driver-adapter-utils@5.13.0/node_modules/@prisma/driver-adapter-utils/dist/index.mjs [18:07:31.483] web:build: ../../node_modules/.pnpm/@prisma+adapter-planetscale@5.13.0_@planetscale+database@1.18.0/node_modules/@prisma/adapter-planetscale/dist/index.mjs [18:07:31.483] web:build: ./lib/prisma/edge.ts [18:07:31.484] web:build: ./lib/middleware/utils/get-default-workspace.ts [18:07:31.484] web:build: ./lib/middleware/app.ts [18:07:31.484] web:build: ./lib/middleware/index.ts [18:07:31.484] web:build: [18:07:31.484] web:build: ../../node_modules/.pnpm/@prisma+debug@5.13.0/node_modules/@prisma/debug/dist/index.js [18:07:31.484] web:build: A Node.js API is used (process.stderr at line: 153) which is not supported in the Edge Runtime. [18:07:31.484] web:build: Learn more: https://nextjs.org/docs/api-reference/edge-runtime [18:07:31.484] web:build: [18:07:31.484] web:build: Import trace for requested module: [18:07:31.484] web:build: ../../node_modules/.pnpm/@prisma+debug@5.13.0/node_modules/@prisma/debug/dist/index.js [18:07:31.484] web:build: ../../node_modules/.pnpm/@prisma+driver-adapter-utils@5.13.0/node_modules/@prisma/driver-adapter-utils/dist/index.mjs [18:07:31.484] web:build: ../../node_modules/.pnpm/@prisma+adapter-planetscale@5.13.0_@planetscale+database@1.18.0/node_modules/@prisma/adapter-planetscale/dist/index.mjs [18:07:31.484] web:build: ./lib/prisma/edge.ts [18:07:31.484] web:build: ./lib/middleware/utils/get-default-workspace.ts [18:07:31.484] web:build: ./lib/middleware/app.ts [18:07:31.485] web:build: ./lib/middleware/index.ts [18:07:31.485] web:build: [18:07:55.727] web:build: Collecting page data ... [18:07:57.948] web:build: ⚠ Using edge runtime on a page currently disables static generation for that page [18:08:00.222] web:build: Generating static pages (0/58) ... [18:08:11.676] web:build: API error occurred q [Error]: Dynamic server usage: Route /api/analytics/demo couldn't be rendered statically because it accessed `request.headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error [18:08:11.676] web:build: at Object.get (/vercel/path0/node_modules/.pnpm/next@14.3.0-canary.42_@babel+core@7.23.0_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:38330) [18:08:11.677] web:build: at /vercel/path0/apps/web/.next/server/chunks/9423.js:1:13628 [18:08:11.677] web:build: at /vercel/path0/node_modules/.pnpm/next@14.3.0-canary.42_@babel+core@7.23.0_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:35068 [18:08:11.677] web:build: at /vercel/path0/node_modules/.pnpm/next@14.3.0-canary.42_@babel+core@7.23.0_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/lib/trace/tracer.js:159:36 [18:08:11.677] web:build: at NoopContextManager.with (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js:25:19) [18:08:11.678] web:build: at ContextAPI.with (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/api/context.js:60:46) [18:08:11.678] web:build: at NoopTracer.startActiveSpan (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js:65:31) [18:08:11.678] web:build: at ProxyTracer.startActiveSpan (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js:36:24) [18:08:11.678] web:build: at /vercel/path0/node_modules/.pnpm/next@14.3.0-canary.42_@babel+core@7.23.0_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/lib/trace/tracer.js:141:103 [18:08:11.678] web:build: at NoopContextManager.with (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js:25:19) { [18:08:11.679] web:build: description: "Route /api/analytics/demo couldn't be rendered statically because it accessed `request.headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error", [18:08:11.679] web:build: digest: 'DYNAMIC_SERVER_USAGE' [18:08:11.679] web:build: } [18:08:12.581] web:build: Generating static pages (14/58) [18:08:15.042] web:build: Anonymous analytics enabled. You can disable this by setting the DO_NOT_TRACK=1 or BOXYHQ_NO_ANALYTICS=1 environment variables [18:08:15.043] web:build: Using engine: planetscale. [18:08:15.725] web:build: Generating static pages (28/58) [18:08:16.235] web:build: API error occurred q [Error]: Dynamic server usage: Route /api/me couldn't be rendered statically because it accessed `request.headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error [18:08:16.235] web:build: at Object.get (/vercel/path0/node_modules/.pnpm/next@14.3.0-canary.42_@babel+core@7.23.0_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:38330) [18:08:16.236] web:build: at /vercel/path0/apps/web/.next/server/chunks/9423.js:1:13628 [18:08:16.236] web:build: at /vercel/path0/node_modules/.pnpm/next@14.3.0-canary.42_@babel+core@7.23.0_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:35068 [18:08:16.236] web:build: at /vercel/path0/node_modules/.pnpm/next@14.3.0-canary.42_@babel+core@7.23.0_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/lib/trace/tracer.js:159:36 [18:08:16.236] web:build: at NoopContextManager.with (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js:25:19) [18:08:16.236] web:build: at ContextAPI.with (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/api/context.js:60:46) [18:08:16.236] web:build: at NoopTracer.startActiveSpan (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js:65:31) [18:08:16.237] web:build: at ProxyTracer.startActiveSpan (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js:36:24) [18:08:16.237] web:build: at /vercel/path0/node_modules/.pnpm/next@14.3.0-canary.42_@babel+core@7.23.0_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/lib/trace/tracer.js:141:103 [18:08:16.237] web:build: at NoopContextManager.with (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js:25:19) { [18:08:16.237] web:build: description: "Route /api/me couldn't be rendered statically because it accessed `request.headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error", [18:08:16.237] web:build: digest: 'DYNAMIC_SERVER_USAGE' [18:08:16.237] web:build: } [18:08:17.079] web:build: API error occurred q [Error]: Dynamic server usage: Route /api/support/upload couldn't be rendered statically because it accessed `request.headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error [18:08:17.081] web:build: at Object.get (/vercel/path0/node_modules/.pnpm/next@14.3.0-canary.42_@babel+core@7.23.0_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:38330) [18:08:17.081] web:build: at /vercel/path0/apps/web/.next/server/chunks/9423.js:1:13628 [18:08:17.082] web:build: at /vercel/path0/node_modules/.pnpm/next@14.3.0-canary.42_@babel+core@7.23.0_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:35068 [18:08:17.082] web:build: at /vercel/path0/node_modules/.pnpm/next@14.3.0-canary.42_@babel+core@7.23.0_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/lib/trace/tracer.js:159:36 [18:08:17.082] web:build: at NoopContextManager.with (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js:25:19) [18:08:17.083] web:build: at ContextAPI.with (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/api/context.js:60:46) [18:08:17.083] web:build: at NoopTracer.startActiveSpan (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js:65:31) [18:08:17.083] web:build: at ProxyTracer.startActiveSpan (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js:36:24) [18:08:17.083] web:build: at /vercel/path0/node_modules/.pnpm/next@14.3.0-canary.42_@babel+core@7.23.0_@opentelemetry+api@1.8.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/lib/trace/tracer.js:141:103 [18:08:17.083] web:build: at NoopContextManager.with (/vercel/path0/node_modules/.pnpm/@opentelemetry+api@1.8.0/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js:25:19) { [18:08:17.083] web:build: description: "Route /api/support/upload couldn't be rendered statically because it accessed `request.headers`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error", [18:08:17.083] web:build: digest: 'DYNAMIC_SERVER_USAGE' [18:08:17.084] web:build: } [18:08:17.764] web:build: Generating static pages (43/58) [18:08:19.612] web:build: ✓ Generating static pages (58/58) [18:08:20.133] web:build: Finalizing page optimization ... [18:08:20.135] web:build: Collecting build traces ... [18:08:38.109] web:build: [18:08:38.134] web:build: Route (app) Size First Load JS [18:08:38.134] web:build: ┌ ○ /_not-found 905 B 88.6 kB [18:08:38.135] web:build: ├ ● /[domain] 1.24 kB 815 kB [18:08:38.135] web:build: ├ ƒ /[domain]/stats/[key] 230 B 441 kB [18:08:38.135] web:build: ├ ○ /admin.dub.co 4.43 kB 161 kB [18:08:38.135] web:build: ├ ○ /admin.dub.co/analytics 242 B 441 kB [18:08:38.135] web:build: ├ ○ /admin.dub.co/links 203 B 400 kB [18:08:38.135] web:build: ├ ○ /admin.dub.co/login 1.75 kB 297 kB [18:08:38.135] web:build: ├ ƒ /api 0 B 0 B [18:08:38.136] web:build: ├ ƒ /api/admin/ban 0 B 0 B [18:08:38.136] web:build: ├ ƒ /api/admin/impersonate 0 B 0 B [18:08:38.136] web:build: ├ ƒ /api/admin/links 0 B 0 B [18:08:38.136] web:build: ├ ƒ /api/admin/links/[linkId] 0 B 0 B [18:08:38.136] web:build: ├ ƒ /api/admin/links/[linkId]/ban 0 B 0 B [18:08:38.136] web:build: ├ ƒ /api/admin/links/count 0 B 0 B [18:08:38.136] web:build: ├ ƒ /api/admin/refresh-domain 0 B 0 B [18:08:38.136] web:build: ├ ƒ /api/admin/send-thanks 0 B 0 B [18:08:38.136] web:build: ├ ƒ /api/ai/completion 0 B 0 B [18:08:38.136] web:build: ├ ƒ /api/analytics 0 B 0 B [18:08:38.136] web:build: ├ ƒ /api/analytics/[eventType] 0 B 0 B [18:08:38.137] web:build: ├ ƒ /api/analytics/[eventType]/[endpoint] 0 B 0 B [18:08:38.137] web:build: ├ ƒ /api/analytics/admin 0 B 0 B [18:08:38.137] web:build: ├ ƒ /api/analytics/demo 0 B 0 B [18:08:38.137] web:build: ├ ƒ /api/analytics/edge 0 B 0 B [18:08:38.137] web:build: ├ ƒ /api/analytics/export 0 B 0 B [18:08:38.137] web:build: ├ ƒ /api/analytics/public-stats 0 B 0 B [18:08:38.137] web:build: ├ ƒ /api/auth/[...nextauth] 0 B 0 B [18:08:38.137] web:build: ├ ƒ /api/auth/account-exists 0 B 0 B [18:08:38.137] web:build: ├ ƒ /api/auth/saml/authorize 0 B 0 B [18:08:38.137] web:build: ├ ƒ /api/auth/saml/callback 0 B 0 B [18:08:38.138] web:build: ├ ƒ /api/auth/saml/token 0 B 0 B [18:08:38.138] web:build: ├ ƒ /api/auth/saml/userinfo 0 B 0 B [18:08:38.138] web:build: ├ ƒ /api/auth/saml/verify 0 B 0 B [18:08:38.138] web:build: ├ ƒ /api/callback/bitly 0 B 0 B [18:08:38.138] web:build: ├ ƒ /api/callback/flodesk 0 B 0 B [18:08:38.138] web:build: ├ ƒ /api/callback/plain 0 B 0 B [18:08:38.138] web:build: ├ ƒ /api/callback/postmark 0 B 0 B [18:08:38.138] web:build: ├ ƒ /api/callback/stripe 0 B 0 B [18:08:38.138] web:build: ├ ƒ /api/cron/domains/transfer 0 B 0 B [18:08:38.138] web:build: ├ ƒ /api/cron/domains/verify 0 B 0 B [18:08:38.138] web:build: ├ ƒ /api/cron/import/bitly 0 B 0 B [18:08:38.139] web:build: ├ ƒ /api/cron/import/csv 0 B 0 B [18:08:38.139] web:build: ├ ƒ /api/cron/import/rebrandly 0 B 0 B [18:08:38.139] web:build: ├ ƒ /api/cron/import/short 0 B 0 B [18:08:38.139] web:build: ├ ƒ /api/cron/links/delete 0 B 0 B [18:08:38.139] web:build: ├ ƒ /api/cron/usage 0 B 0 B [18:08:38.139] web:build: ├ ƒ /api/domains 0 B 0 B [18:08:38.139] web:build: ├ ƒ /api/domains/[domain] 0 B 0 B [18:08:38.139] web:build: ├ ƒ /api/domains/[domain]/exists 0 B 0 B [18:08:38.139] web:build: ├ ƒ /api/domains/[domain]/primary 0 B 0 B [18:08:38.139] web:build: ├ ƒ /api/domains/[domain]/transfer 0 B 0 B [18:08:38.139] web:build: ├ ƒ /api/domains/[domain]/verify 0 B 0 B [18:08:38.140] web:build: ├ ƒ /api/domains/default 0 B 0 B [18:08:38.140] web:build: ├ ƒ /api/links 0 B 0 B [18:08:38.140] web:build: ├ ƒ /api/links/[linkId] 0 B 0 B [18:08:38.140] web:build: ├ ƒ /api/links/[linkId]/transfer 0 B 0 B [18:08:38.140] web:build: ├ ƒ /api/links/bulk 0 B 0 B [18:08:38.140] web:build: ├ ƒ /api/links/check-conversion-script 0 B 0 B [18:08:38.140] web:build: ├ ƒ /api/links/count 0 B 0 B [18:08:38.140] web:build: ├ ƒ /api/links/iframeable 0 B 0 B [18:08:38.140] web:build: ├ ƒ /api/links/info 0 B 0 B [18:08:38.140] web:build: ├ ƒ /api/links/random 0 B 0 B [18:08:38.140] web:build: ├ ƒ /api/links/sync 0 B 0 B [18:08:38.141] web:build: ├ ƒ /api/links/upsert 0 B 0 B [18:08:38.141] web:build: ├ ƒ /api/links/verify 0 B 0 B [18:08:38.141] web:build: ├ ƒ /api/me 0 B 0 B [18:08:38.141] web:build: ├ ƒ /api/metatags 0 B 0 B [18:08:38.141] web:build: ├ ƒ /api/og/analytics 0 B 0 B [18:08:38.141] web:build: ├ ƒ /api/projects 0 B 0 B [18:08:38.141] web:build: ├ ƒ /api/projects/[slug] 0 B 0 B [18:08:38.141] web:build: ├ ƒ /api/projects/[slug]/domains 0 B 0 B [18:08:38.141] web:build: ├ ƒ /api/projects/[slug]/domains/[domain] 0 B 0 B [18:08:38.141] web:build: ├ ƒ /api/projects/[slug]/domains/[domain]/exists 0 B 0 B [18:08:38.141] web:build: ├ ƒ /api/projects/[slug]/domains/[domain]/verify 0 B 0 B [18:08:38.142] web:build: ├ ƒ /api/projects/[slug]/domains/default 0 B 0 B [18:08:38.142] web:build: ├ ƒ /api/projects/[slug]/links 0 B 0 B [18:08:38.142] web:build: ├ ƒ /api/projects/[slug]/links/[linkId] 0 B 0 B [18:08:38.142] web:build: ├ ƒ /api/projects/[slug]/links/bulk 0 B 0 B [18:08:38.142] web:build: ├ ƒ /api/projects/[slug]/links/count 0 B 0 B [18:08:38.142] web:build: ├ ƒ /api/projects/[slug]/links/info 0 B 0 B [18:08:38.142] web:build: ├ ƒ /api/projects/[slug]/links/random 0 B 0 B [18:08:38.142] web:build: ├ ƒ /api/projects/[slug]/tags 0 B 0 B [18:08:38.142] web:build: ├ ƒ /api/projects/[slug]/tags/[id] 0 B 0 B [18:08:38.142] web:build: ├ ƒ /api/providers 0 B 0 B [18:08:38.142] web:build: ├ ƒ /api/qr 0 B 0 B [18:08:38.143] web:build: ├ ƒ /api/scim/v2.0/[...directory] 0 B 0 B [18:08:38.143] web:build: ├ ƒ /api/stripe/connect/callback 0 B 0 B [18:08:38.143] web:build: ├ ƒ /api/stripe/connect/webhook 0 B 0 B [18:08:38.143] web:build: ├ ƒ /api/stripe/webhook 0 B 0 B [18:08:38.143] web:build: ├ ƒ /api/support 0 B 0 B [18:08:38.143] web:build: ├ ƒ /api/support/upload 0 B 0 B [18:08:38.143] web:build: ├ ƒ /api/tags 0 B 0 B [18:08:38.143] web:build: ├ ƒ /api/tags/[id] 0 B 0 B [18:08:38.144] web:build: ├ ƒ /api/track/customer 0 B 0 B [18:08:38.144] web:build: ├ ƒ /api/track/lead 0 B 0 B [18:08:38.144] web:build: ├ ƒ /api/track/sale 0 B 0 B [18:08:38.144] web:build: ├ ƒ /api/unsplash/download 0 B 0 B [18:08:38.144] web:build: ├ ƒ /api/unsplash/search 0 B 0 B [18:08:38.144] web:build: ├ ƒ /api/user 0 B 0 B [18:08:38.144] web:build: ├ ƒ /api/user/subscribe 0 B 0 B [18:08:38.144] web:build: ├ ƒ /api/user/tokens 0 B 0 B [18:08:38.144] web:build: ├ ƒ /api/workspaces 0 B 0 B [18:08:38.144] web:build: ├ ƒ /api/workspaces/[idOrSlug] 0 B 0 B [18:08:38.145] web:build: ├ ƒ /api/workspaces/[idOrSlug]/billing/manage 0 B 0 B [18:08:38.145] web:build: ├ ƒ /api/workspaces/[idOrSlug]/billing/upgrade 0 B 0 B [18:08:38.145] web:build: ├ ƒ /api/workspaces/[idOrSlug]/connect-stripe 0 B 0 B [18:08:38.145] web:build: ├ ƒ /api/workspaces/[idOrSlug]/exists 0 B 0 B [18:08:38.146] web:build: ├ ƒ /api/workspaces/[idOrSlug]/import/bitly 0 B 0 B [18:08:38.146] web:build: ├ ƒ /api/workspaces/[idOrSlug]/import/rebrandly 0 B 0 B [18:08:38.146] web:build: ├ ƒ /api/workspaces/[idOrSlug]/import/short 0 B 0 B [18:08:38.146] web:build: ├ ƒ /api/workspaces/[idOrSlug]/invites 0 B 0 B [18:08:38.147] web:build: ├ ƒ /api/workspaces/[idOrSlug]/invites/accept 0 B 0 B [18:08:38.147] web:build: ├ ƒ /api/workspaces/[idOrSlug]/invites/reset 0 B 0 B [18:08:38.147] web:build: ├ ƒ /api/workspaces/[idOrSlug]/logo 0 B 0 B [18:08:38.147] web:build: ├ ƒ /api/workspaces/[idOrSlug]/saml 0 B 0 B [18:08:38.147] web:build: ├ ƒ /api/workspaces/[idOrSlug]/scim 0 B 0 B [18:08:38.147] web:build: ├ ƒ /api/workspaces/[idOrSlug]/stats 0 B 0 B [18:08:38.147] web:build: ├ ƒ /api/workspaces/[idOrSlug]/stats/[endpoint] 0 B 0 B [18:08:38.147] web:build: ├ ƒ /api/workspaces/[idOrSlug]/users 0 B 0 B [18:08:38.147] web:build: ├ ○ /app.dub.co/[slug] 203 B 400 kB [18:08:38.148] web:build: ├ ○ /app.dub.co/[slug]/analytics 1.52 kB 443 kB [18:08:38.148] web:build: ├ ○ /app.dub.co/[slug]/domains 12.6 kB 340 kB [18:08:38.148] web:build: ├ ○ /app.dub.co/[slug]/settings 6.13 kB 211 kB [18:08:38.148] web:build: ├ ○ /app.dub.co/[slug]/settings/billing 4.54 kB 327 kB [18:08:38.148] web:build: ├ ○ /app.dub.co/[slug]/settings/people 9.66 kB 219 kB [18:08:38.154] web:build: ├ ○ /app.dub.co/[slug]/settings/security 9.5 kB 211 kB [18:08:38.154] web:build: ├ ƒ /app.dub.co/analytics 154 B 87.9 kB [18:08:38.154] web:build: ├ ƒ /app.dub.co/auth/saml 390 B 296 kB [18:08:38.154] web:build: ├ ○ /app.dub.co/demo 242 B 441 kB [18:08:38.154] web:build: ├ ƒ /app.dub.co/invites/[code] 206 B 286 kB [18:08:38.154] web:build: ├ ƒ /app.dub.co/links 154 B 87.9 kB [18:08:38.154] web:build: ├ ƒ /app.dub.co/links/[key] 154 B 87.9 kB [18:08:38.154] web:build: ├ ƒ /app.dub.co/login 1.75 kB 297 kB [18:08:38.154] web:build: ├ ƒ /app.dub.co/register 715 B 296 kB [18:08:38.155] web:build: ├ ○ /app.dub.co/settings 5.22 kB 220 kB [18:08:38.155] web:build: ├ ○ /app.dub.co/settings/tokens 7.7 kB 178 kB [18:08:38.155] web:build: ├ ƒ /app.dub.co/settings/unsubscribe 857 B 302 kB [18:08:38.155] web:build: ├ ○ /app.dub.co/welcome 4.85 kB 853 kB [18:08:38.155] web:build: ├ ○ /app.dub.co/workspaces 3.63 kB 389 kB [18:08:38.155] web:build: ├ ƒ /banned 209 B 286 kB [18:08:38.155] web:build: ├ ƒ /cloaked/[url] 154 B 87.9 kB [18:08:38.155] web:build: ├ ƒ /deeplink/[url] 154 B 87.9 kB [18:08:38.155] web:build: ├ ƒ /expired/[domain] 209 B 286 kB [18:08:38.155] web:build: ├ ƒ /inspect/[domain]/[key] 2.59 kB 295 kB [18:08:38.156] web:build: ├ ○ /manifest.webmanifest 0 B 0 B [18:08:38.156] web:build: ├ ● /password/[domain]/[key] 1.13 kB 289 kB [18:08:38.156] web:build: ├ ƒ /proxy/[domain]/[key] 206 B 286 kB [18:08:38.156] web:build: ├ ƒ /robots.txt 0 B 0 B [18:08:38.156] web:build: └ ƒ /sitemap.xml 0 B 0 B [18:08:38.156] web:build: + First Load JS shared by all 87.7 kB [18:08:38.156] web:build: ├ chunks/477b8494-30942cac8222fe8e.js 53.5 kB [18:08:38.156] web:build: ├ chunks/8464-4e0fff18c8fa8f57.js 32 kB [18:08:38.156] web:build: └ other shared chunks (total) 2.16 kB [18:08:38.156] web:build: [18:08:38.156] web:build: [18:08:38.157] web:build: ƒ Middleware 148 kB [18:08:38.157] web:build: [18:08:38.157] web:build: ○ (Static) prerendered as static content [18:08:38.157] web:build: ● (SSG) prerendered as static HTML (uses getStaticProps) [18:08:38.157] web:build: ƒ (Dynamic) server-rendered on demand [18:08:38.157] web:build: [18:08:38.367] [18:08:38.368] Tasks: 3 successful, 3 total [18:08:38.368] Cached: 2 cached, 3 total [18:08:38.368] Time: 3m30.649s [18:08:38.368] Summary: /vercel/path0/.turbo/runs/2hp2uFD4khFwQBbeTJbn7G696JM.json [18:08:38.368] [18:08:39.765] Traced Next.js server files in: 76.945ms [18:09:01.182] Created all serverless functions in: 21.416s [18:09:06.046] Collected static files (public/, static/, .next/static): 20.618ms [18:09:06.594] Build Completed in /vercel/output [5m] [18:09:06.846] Deploying outputs... [18:09:16.110] Injected preview comments middleware, you can disable this in your project settings. [18:09:28.994] Error: The Edge Function "api/ai/completion" size is 1.03 MB and your plan size limit is 1 MB. Learn More: https://vercel.link/edge-function-size [18:09:34.058]
linear[bot] commented 2 weeks ago

ENG-380 Vercel deploy error

repo4opensc commented 2 weeks ago

I also experienced the same issue, unable to deploy😖

MFYDev commented 2 weeks ago

same error here, cannot deploy at all

h4MeMengoding commented 2 weeks ago

same error here, cannot deploy at all

very sad, no answer from the developer:(

MFYDev commented 2 weeks ago

@devkiran @steven-tey Hi, the error now become Error: The Edge Function "api/ai/completion" size is 1.03 MB and your plan size limit is 1 MB. Learn More: https://vercel.link/edge-function-size

Error: The Edge Function "api/analytics/edge" size is 1.02 MB and your plan size limit is 1 MB. Learn More: https://vercel.link/edge-function-size

this with the latest code