[14:08:12.804] Running build in Washington, D.C., USA (East) – iad1
[14:08:12.873] Cloning github.com/VectorZhao/ChatGPT-Admin-Web (Branch: main, Commit: 74b0209)
[14:08:13.191] Previous build cache not available
[14:08:13.669] Cloning completed: 795.645ms
[14:08:14.040] Running "vercel build"
[14:08:14.718] Vercel CLI 29.2.0
[14:08:14.882] > Detected Turbo. Adjusting default settings...
[14:08:15.204] Detected `pnpm-lock.yaml` version 6 generated by pnpm 8...
[14:08:15.211] Running "install" command: `pnpm install`...
[14:08:15.938] Scope: all 7 workspace projects
[14:08:16.217] ../.. | Progress: resolved 1, reused 0, downloaded 0, added 0
[14:08:16.679] ../.. | +1487 ++++++++++++++++++++++++++++
[14:08:17.218] ../.. | Progress: resolved 1487, reused 0, downloaded 4, added 0
[14:08:17.361] Packages are copied from the content-addressable store to the virtual store.
[14:08:17.362] Content-addressable store is at: /vercel/.local/share/pnpm/store/v3
[14:08:17.362] Virtual store is at: ../../node_modules/.pnpm
[14:08:18.229] ../.. | Progress: resolved 1487, reused 0, downloaded 66, added 61
[14:08:19.234] ../.. | Progress: resolved 1487, reused 0, downloaded 134, added 131
[14:08:20.238] ../.. | Progress: resolved 1487, reused 0, downloaded 196, added 191
[14:08:21.247] ../.. | Progress: resolved 1487, reused 0, downloaded 239, added 231
[14:08:22.252] ../.. | Progress: resolved 1487, reused 0, downloaded 310, added 306
[14:08:23.258] ../.. | Progress: resolved 1487, reused 0, downloaded 381, added 377
[14:08:24.275] ../.. | Progress: resolved 1487, reused 0, downloaded 427, added 421
[14:08:25.281] ../.. | Progress: resolved 1487, reused 0, downloaded 481, added 479
[14:08:26.288] ../.. | Progress: resolved 1487, reused 0, downloaded 560, added 555
[14:08:27.288] ../.. | Progress: resolved 1487, reused 0, downloaded 620, added 622
[14:08:28.290] ../.. | Progress: resolved 1487, reused 0, downloaded 626, added 629
[14:08:29.305] ../.. | Progress: resolved 1487, reused 0, downloaded 637, added 640
[14:08:30.315] ../.. | Progress: resolved 1487, reused 0, downloaded 673, added 672
[14:08:31.316] ../.. | Progress: resolved 1487, reused 0, downloaded 700, added 701
[14:08:32.318] ../.. | Progress: resolved 1487, reused 0, downloaded 726, added 726
[14:08:33.320] ../.. | Progress: resolved 1487, reused 0, downloaded 768, added 770
[14:08:34.319] ../.. | Progress: resolved 1487, reused 0, downloaded 811, added 809
[14:08:35.325] ../.. | Progress: resolved 1487, reused 0, downloaded 880, added 878
[14:08:36.331] ../.. | Progress: resolved 1487, reused 0, downloaded 926, added 925
[14:08:37.333] ../.. | Progress: resolved 1487, reused 0, downloaded 977, added 976
[14:08:38.333] ../.. | Progress: resolved 1487, reused 0, downloaded 1053, added 1051
[14:08:39.346] ../.. | Progress: resolved 1487, reused 0, downloaded 1079, added 1082
[14:08:40.351] ../.. | Progress: resolved 1487, reused 0, downloaded 1158, added 1157
[14:08:41.351] ../.. | Progress: resolved 1487, reused 0, downloaded 1200, added 1203
[14:08:42.360] ../.. | Progress: resolved 1487, reused 0, downloaded 1234, added 1236
[14:08:43.433] ../.. | Progress: resolved 1487, reused 0, downloaded 1260, added 1263
[14:08:44.436] ../.. | Progress: resolved 1487, reused 0, downloaded 1335, added 1337
[14:08:45.443] ../.. | Progress: resolved 1487, reused 0, downloaded 1393, added 1394
[14:08:46.555] ../.. | Progress: resolved 1487, reused 0, downloaded 1464, added 1465
[14:08:47.555] ../.. | Progress: resolved 1487, reused 0, downloaded 1473, added 1477
[14:08:48.558] ../.. | Progress: resolved 1487, reused 0, downloaded 1474, added 1478
[14:08:50.203] ../.. | Progress: resolved 1487, reused 0, downloaded 1475, added 1478
[14:08:51.203] ../.. | Progress: resolved 1487, reused 0, downloaded 1477, added 1480
[14:08:52.203] ../.. | Progress: resolved 1487, reused 0, downloaded 1479, added 1483
[14:08:54.003] ../.. | Progress: resolved 1487, reused 0, downloaded 1480, added 1483
[14:08:55.003] ../.. | Progress: resolved 1487, reused 0, downloaded 1481, added 1483
[14:08:56.003] ../.. | Progress: resolved 1487, reused 0, downloaded 1483, added 1485
[14:08:58.293] ../.. | Progress: resolved 1487, reused 0, downloaded 1483, added 1486
[14:08:59.293] ../.. | Progress: resolved 1487, reused 0, downloaded 1483, added 1487, done
[14:08:59.738] .../node_modules/core-js-pure postinstall$ node -e "try{require('./postinstall')}catch(e){}"
[14:08:59.739] .../[email protected]/node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}"
[14:08:59.831] .../node_modules/core-js-pure postinstall: Done
[14:08:59.903] .../[email protected]/node_modules/core-js postinstall: Done
[14:09:01.338] .../.pnpm/[email protected]/node_modules/turbo postinstall$ node install.js
[14:09:01.443] .../.pnpm/[email protected]/node_modules/turbo postinstall: Done
[14:09:02.243]
[14:09:02.244] dependencies:
[14:09:02.244] + @edge-runtime/ponyfill 2.1.2
[14:09:02.244] + @edge-runtime/types 2.0.8
[14:09:02.244] + @svgr/webpack 6.5.1
[14:09:02.244] + @types/node 18.15.11
[14:09:02.244] + @types/react 18.0.28
[14:09:02.244] + @types/react-dom 18.0.11
[14:09:02.244] + @types/react-katex 3.0.0
[14:09:02.244] + @types/spark-md5 3.0.2
[14:09:02.244] + @upstash/redis 1.20.2
[14:09:02.244] + @vercel/analytics 0.1.11
[14:09:02.244] + array.prototype.at 1.1.1
[14:09:02.245] + bots 0.0.1 <- ../../packages/bots
[14:09:02.245] + cross-env 7.0.3
[14:09:02.245] + database 0.0.1 <- ../../packages/database
[14:09:02.245] + edge-runtime 2.1.2
[14:09:02.245] + emoji-picker-react 4.4.7
[14:09:02.245] + eslint 8.35.0
[14:09:02.245] + eslint-config-next 13.2.3
[14:09:02.245] + eventsource-parser 0.1.0
[14:09:02.245] + iron-session 6.3.1
[14:09:02.245] + next 13.3.1
[14:09:02.245] + openai 3.2.1
[14:09:02.245] + react 18.2.0
[14:09:02.245] + react-dom 18.2.0
[14:09:02.246] + react-markdown 8.0.5
[14:09:02.246] + rehype-katex 6.0.2
[14:09:02.246] + rehype-prism-plus 1.5.1
[14:09:02.246] + remark-breaks 3.0.2
[14:09:02.246] + remark-gfm 3.0.1
[14:09:02.246] + remark-math 5.1.1
[14:09:02.246] + sass 1.59.2
[14:09:02.246] + spark-md5 3.0.2
[14:09:02.246] + swr 2.1.3
[14:09:02.247] + tsconfig <- ../../packages/tsconfig
[14:09:02.248] + typescript 4.9.5
[14:09:02.248] + zod 3.21.4
[14:09:02.248] + zustand 4.3.6
[14:09:02.248]
[14:09:02.248] Done in 46.9s
[14:09:02.294] Detected Next.js version: 13.3.1
[14:09:02.367] Running "npx turbo run build"
[14:09:03.106] • Packages in scope: chat
[14:09:03.106] • Running build in 1 packages
[14:09:03.106] • Remote caching enabled
[14:09:03.306] bots:build: cache miss, executing 9d861d151e385fe1
[14:09:03.311] database:build: cache miss, executing 462ea40c71b0a26a
[14:09:03.996] bots:build:
[14:09:03.996] bots:build: > [email protected] build /vercel/path0/packages/bots
[14:09:03.996] bots:build: > tsc --build
[14:09:03.996] bots:build:
[14:09:04.007] database:build:
[14:09:04.007] database:build: > [email protected] build /vercel/path0/packages/database
[14:09:04.007] database:build: > tsc --build
[14:09:04.007] database:build:
[14:09:08.419] chat:build: cache miss, executing 48c3b96425d73dd9
[14:09:09.075] chat:build:
[14:09:09.076] chat:build: > [email protected] build /vercel/path0/apps/chat
[14:09:09.076] chat:build: > next build
[14:09:09.076] chat:build:
[14:09:09.594] chat:build: warn - You have enabled experimental feature (appDir) in next.config.js.
[14:09:09.595] chat:build: warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
[14:09:09.595] chat:build: info - Thank you for testing `appDir` please leave your feedback at https://nextjs.link/app-feedback
[14:09:09.595] chat:build:
[14:09:09.618] chat:build: Attention: Next.js now collects completely anonymous telemetry regarding usage.
[14:09:09.618] chat:build: This information is used to shape Next.js' roadmap and prioritize features.
[14:09:09.618] chat: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:
[14:09:09.618] chat:build: https://nextjs.org/telemetry
[14:09:09.618] chat:build:
[14:09:09.789] chat:build: info - Creating an optimized production build...
[14:09:09.992] chat:build: warn - `export const config` in /vercel/path0/apps/chat/src/app/api/user/info/[part]/route.ts is deprecated. Please change it to segment export config. See https://beta.nextjs.org/docs/api-reference/segment-config
[14:10:04.194] chat:build: warn - Compiled with warnings
[14:10:04.194] chat:build:
[14:10:04.194] chat:build: ../../node_modules/.pnpm/@[email protected]/node_modules/@upstash/redis/esm/platforms/nodejs.js
[14:10:04.194] chat:build: A Node.js API is used (process.version at line: 44) which is not supported in the Edge Runtime.
[14:10:04.194] chat:build: Learn more: https://nextjs.org/docs/api-reference/edge-runtime
[14:10:04.194] chat:build:
[14:10:04.195] chat:build: Import trace for requested module:
[14:10:04.195] chat:build: ../../node_modules/.pnpm/@[email protected]/node_modules/@upstash/redis/esm/platforms/nodejs.js
[14:10:04.195] chat:build: ../../packages/database/dist/redis/client.js
[14:10:04.195] chat:build: ../../packages/database/dist/redis/index.js
[14:10:04.195] chat:build: ../../packages/database/dist/utils/ratelimit.js
[14:10:04.195] chat:build: ../../packages/database/dist/index.js
[14:10:04.195] chat:build:
[14:10:04.203] chat:build: info - Linting and checking validity of types...
[14:10:06.630] chat:build: Pages directory cannot be found at /vercel/path0/apps/chat/pages or /vercel/path0/apps/chat/src/pages. If using a custom path, please configure with the `no-html-link-for-pages` rule in your eslint config file.
[14:10:08.682] chat:build:
[14:10:08.682] chat:build: Failed to compile.
[14:10:08.683] chat:build:
[14:10:08.683] chat:build: ./src/hooks/use-invite-code.tsx
[14:10:08.683] chat:build: 18:31 Error: React Hook "useSWR" is called conditionally. React Hooks must be called in the exact same order in every component render. react-hooks/rules-of-hooks
[14:10:08.683] chat:build:
[14:10:08.683] chat:build: info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
[14:10:08.754] chat:build: ELIFECYCLE Command failed with exit code 1.
[14:10:08.781] chat:build: ERROR: command finished with error: command (/vercel/path0/apps/chat) pnpm run build exited (1)
[14:10:08.782] command (/vercel/path0/apps/chat) pnpm run build exited (1)
[14:10:08.783]
[14:10:08.785] Tasks: 2 successful, 3 total
[14:10:08.786] Cached: 0 cached, 3 total
[14:10:08.786] Time: 1m5.831s
[14:10:08.786] Summary: /vercel/path0/.turbo/runs/2PgHKsIl4HOHLB5OH6Y3vqcRnUx.json
[14:10:08.786]
[14:10:08.786] ERROR run failed: command exited (1)
[14:10:08.822] Error: Command "npx turbo run build" exited with 1
[14:10:09.714] Deployment completed
[14:10:09.267] BUILD_UTILS_SPAWN_1: Command "npx turbo run build" exited with 1