I'm a new user to Vercel, opened an account to try deploying this. During the build step I get the error in the title. Here's the logs
[21:14:12.113] Running build in Cleveland, USA (East) – cle1
[21:14:12.162] Cloning github.com/mileszim/nextjs-chat (Branch: main, Commit: c6b6e39)
[21:14:12.407] Previous build cache not available
[21:14:12.770] Cloning completed: 607.715ms
[21:14:12.917] Running "vercel build"
[21:14:13.385] Vercel CLI 30.2.1
[21:14:13.656] Detected `pnpm-lock.yaml` version 6.1 generated by pnpm 8...
[21:14:13.667] Installing dependencies...
[21:14:14.159] Lockfile is up to date, resolution step is skipped
[21:14:14.193] Progress: resolved 1, reused 0, downloaded 0, added 0
[21:14:14.286] Packages: +637
[21:14:14.287] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[21:14:14.549] Packages are hard linked from the content-addressable store to the virtual store.
[21:14:14.549] Content-addressable store is at: /vercel/.local/share/pnpm/store/v3
[21:14:14.549] Virtual store is at: node_modules/.pnpm
[21:14:15.194] Progress: resolved 637, reused 0, downloaded 58, added 58
[21:14:16.197] Progress: resolved 637, reused 0, downloaded 135, added 130
[21:14:17.201] Progress: resolved 637, reused 0, downloaded 247, added 245
[21:14:18.203] Progress: resolved 637, reused 0, downloaded 332, added 331
[21:14:19.209] Progress: resolved 637, reused 0, downloaded 446, added 441
[21:14:20.212] Progress: resolved 637, reused 0, downloaded 567, added 563
[21:14:21.212] Progress: resolved 637, reused 0, downloaded 633, added 633
[21:14:22.211] Progress: resolved 637, reused 0, downloaded 635, added 635
[21:14:23.306] Progress: resolved 637, reused 0, downloaded 636, added 635
[21:14:24.236] .../[email protected]/node_modules/es5-ext postinstall$ node -e "try{require('./_postinstall')}catch(e){}" || exit 0
[21:14:24.297] .../[email protected]/node_modules/es5-ext postinstall: Done
[21:14:24.311] Progress: resolved 637, reused 0, downloaded 637, added 637, done
[21:14:24.360] .../[email protected]/node_modules/esbuild postinstall$ node install.js
[21:14:24.423] .../[email protected]/node_modules/esbuild postinstall: Done
[21:14:24.578]
[21:14:24.578] dependencies:
[21:14:24.579] + @radix-ui/react-alert-dialog 1.0.4
[21:14:24.579] + @radix-ui/react-dialog 1.0.4
[21:14:24.579] + @radix-ui/react-dropdown-menu 2.0.5
[21:14:24.579] + @radix-ui/react-label 2.0.2
[21:14:24.579] + @radix-ui/react-select 1.2.2
[21:14:24.579] + @radix-ui/react-separator 1.0.3
[21:14:24.579] + @radix-ui/react-slot 1.0.2
[21:14:24.579] + @radix-ui/react-switch 1.0.3
[21:14:24.579] + @radix-ui/react-tooltip 1.0.6
[21:14:24.579] + @vercel/analytics 1.0.1
[21:14:24.580] + @vercel/kv 0.2.1
[21:14:24.580] + @vercel/og 0.5.7
[21:14:24.580] + ai 2.1.2
[21:14:24.580] + body-scroll-lock 4.0.0-beta.0
[21:14:24.580] + class-variance-authority 0.4.0
[21:14:24.580] + clsx 1.2.1
[21:14:24.580] + focus-trap-react 10.1.1
[21:14:24.581] + nanoid 4.0.2
[21:14:24.581] + next 13.4.7-canary.1
[21:14:24.581] + next-auth 0.0.0-manual.4cd21ea5
[21:14:24.581] + next-themes 0.2.1
[21:14:24.581] + openai-edge 0.5.1
[21:14:24.581] + react 18.2.0
[21:14:24.581] + react-dom 18.2.0
[21:14:24.581] + react-hot-toast 2.4.1
[21:14:24.581] + react-intersection-observer 9.4.4
[21:14:24.581] + react-markdown 8.0.7
[21:14:24.581] + react-syntax-highlighter 15.5.0
[21:14:24.581] + react-textarea-autosize 8.4.1
[21:14:24.581] + remark-gfm 3.0.1
[21:14:24.582] + remark-math 5.1.1
[21:14:24.582]
[21:14:24.582] devDependencies:
[21:14:24.583] + @tailwindcss/typography 0.5.9
[21:14:24.583] + @types/node 17.0.45
[21:14:24.583] + @types/react 18.2.6
[21:14:24.583] + @types/react-dom 18.2.4
[21:14:24.583] + @types/react-syntax-highlighter 15.5.6
[21:14:24.583] + @typescript-eslint/parser 5.59.7
[21:14:24.583] + autoprefixer 10.4.14
[21:14:24.584] + dotenv 16.0.3
[21:14:24.584] + drizzle-kit 0.18.0
[21:14:24.584] + eslint 8.40.0
[21:14:24.584] + eslint-config-next 13.4.7-canary.1
[21:14:24.584] + eslint-config-prettier 8.8.0
[21:14:24.584] + eslint-plugin-tailwindcss 3.12.0
[21:14:24.584] + postcss 8.4.23
[21:14:24.584] + prettier 2.8.8
[21:14:24.584] + tailwind-merge 1.12.0
[21:14:24.584] + tailwindcss 3.3.2
[21:14:24.584] + tailwindcss-animate 1.0.5
[21:14:24.584] + typescript 5.1.3
[21:14:24.584]
[21:14:24.584] Done in 10.8s
[21:14:24.602] Detected Next.js version: 13.4.7-canary.1
[21:14:24.611] Running "pnpm run build"
[21:14:25.065]
[21:14:25.065] > [email protected] build /vercel/path0
[21:14:25.065] > next build
[21:14:25.065]
[21:14:25.462] - warn You have enabled experimental feature (serverActions) in next.config.js.
[21:14:25.463] - warn Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
[21:14:25.463]
[21:14:25.478] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[21:14:25.478] This information is used to shape Next.js' roadmap and prioritize features.
[21:14:25.478] 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:
[21:14:25.478] https://nextjs.org/telemetry
[21:14:25.478]
[21:14:25.564] - info Creating an optimized production build...
[21:14:59.597] - info Compiled successfully
[21:14:59.603] - info Linting and checking validity of types...
[21:15:05.015]
[21:15:05.015] ./app/layout.tsx
[21:15:05.016] 46:16 Warning: Invalid Tailwind CSS classnames order tailwindcss/classnames-order
[21:15:05.016] 49:19 Warning: Invalid Tailwind CSS classnames order tailwindcss/classnames-order
[21:15:05.016]
[21:15:05.016] ./components/user-menu.tsx
[21:15:05.016] 34:17 Warning: Invalid Tailwind CSS classnames order tailwindcss/classnames-order
[21:15:05.016] 39:20 Warning: Invalid Tailwind CSS classnames order tailwindcss/classnames-order
[21:15:05.016] 57:15 Warning: Invalid Tailwind CSS classnames order tailwindcss/classnames-order
[21:15:05.016] 60:33 Warning: Invalid Tailwind CSS classnames order tailwindcss/classnames-order
[21:15:05.016]
[21:15:05.016] info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
[21:15:05.017] - info Collecting page data...
[21:15:15.374] - info Generating static pages (0/4)
[21:15:15.429] - info Generating static pages (1/4)
[21:15:15.451] - info Generating static pages (2/4)
[21:15:15.467] - info Generating static pages (3/4)
[21:15:15.627] - info Generating static pages (4/4)
[21:15:15.645] - info Finalizing page optimization...
[21:15:15.647]
[21:15:15.702] Route (app) Size First Load JS
[21:15:15.702] ┌ ℇ / 0 B 0 B
[21:15:15.702] ├ ℇ /api/auth/[...nextauth] 0 B 0 B
[21:15:15.702] ├ ℇ /api/chat 0 B 0 B
[21:15:15.702] ├ ℇ /chat/[id] 222 B 418 kB
[21:15:15.702] ├ ○ /opengraph-image.png 0 B 0 B
[21:15:15.702] ├ ℇ /share/[id] 1.84 kB 336 kB
[21:15:15.702] ├ ℇ /share/[id]/opengraph-image 0 B 0 B
[21:15:15.702] ├ λ /sign-in 1.29 kB 96.7 kB
[21:15:15.702] └ ○ /twitter-image.png 0 B 0 B
[21:15:15.702] + First Load JS shared by all 94 kB
[21:15:15.702] ├ chunks/193-4f09ad3eb66da1bc.js 5.51 kB
[21:15:15.702] ├ chunks/212-321422422795b97c.js 8.07 kB
[21:15:15.702] ├ chunks/699-3e03d43b46cb22bb.js 25.7 kB
[21:15:15.703] ├ chunks/80f368f5-d40eed256e19ee1e.js 52.7 kB
[21:15:15.703] ├ chunks/main-app-23cee0dcd6edd8f6.js 239 B
[21:15:15.703] └ chunks/webpack-92e18ba65220e2f7.js 1.74 kB
[21:15:15.703]
[21:15:15.703] Route (pages) Size First Load JS
[21:15:15.703] ─ ○ /404 183 B 75 kB
[21:15:15.703] + First Load JS shared by all 74.8 kB
[21:15:15.703] ├ chunks/framework-f780fd9bae3b8c58.js 45.1 kB
[21:15:15.703] ├ chunks/main-91eace788c200f55.js 27.9 kB
[21:15:15.703] ├ chunks/pages/_app-06aedd91999f3c8c.js 197 B
[21:15:15.703] └ chunks/webpack-92e18ba65220e2f7.js 1.74 kB
[21:15:15.703]
[21:15:15.703] ƒ Middleware 105 kB
[21:15:15.703]
[21:15:15.703] ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
[21:15:15.703] λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
[21:15:15.703] ○ (Static) automatically rendered as static HTML (uses no initial props)
[21:15:15.703]
[21:15:18.966] Traced Next.js server files in: 2.556s
[21:15:25.754] Created all serverless functions in: 6.786s
[21:15:26.954] Collected static files (public/, static/, .next/static): 4.851ms
[21:15:28.176] Build Completed in /vercel/output [1m]
[21:15:28.584] Deploying outputs...
[21:15:40.595] Error: The Edge Function "share/[id]/opengraph-image" size is 1.08 MB and your plan size limit is 1 MB. Learn More: https://vercel.link/edge-function-size
[21:15:42.646] NOW_SANDBOX_WORKER_MAX_MIDDLEWARE_SIZE: The Edge Function "share/[id]/opengraph-image" size is 1.08 MB and your plan size limit is 1 MB.