Vercel 按照进阶教程的部署方法,手动部署失败 #8323
Unanswered
9963KK
asked this question in
Self Hosting
Replies: 1 comment 1 reply
-
|
数据库没有配置吧? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
[07:57:41.911] Running build in Washington, D.C., USA (East) – iad1⚠️ Database migrate failed due to not find the db instance.
[07:57:41.911] Build machine configuration: 2 cores, 8 GB
[07:57:41.927] Cloning github.com/9963KK/lobe-chat (Branch: main, Commit: 24ae38a)
[07:57:41.962] Skipping build cache, deployment was triggered without cache.
[07:57:43.895] Cloning completed: 1.968s
[07:57:44.853] Running "vercel build"
[07:57:45.298] Vercel CLI 44.0.0
[07:57:45.956] Running "install" command:
bun install...[07:57:45.997] bun install v1.2.17 (282dda62)
[07:57:46.023] Resolving dependencies
[07:58:08.933] Resolved, downloaded and extracted [11362]
[07:58:08.934] warn: incorrect peer dependency "[email protected]"
[07:58:08.934]
[07:58:08.934] warn: incorrect peer dependency "[email protected]"
[07:58:08.934]
[07:58:08.934] warn: incorrect peer dependency "[email protected]"
[07:58:08.934]
[07:58:08.934] warn: incorrect peer dependency "[email protected]"
[07:58:08.934]
[07:58:08.934] warn: incorrect peer dependency "[email protected]"
[07:58:08.934]
[07:58:08.934] warn: incorrect peer dependency "[email protected]"
[07:58:08.934]
[07:58:08.934] warn: incorrect peer dependency "[email protected]"
[07:58:08.934]
[07:58:08.934] warn: incorrect peer dependency "[email protected]"
[07:58:08.934]
[07:58:08.934] warn: incorrect peer dependency "[email protected]"
[07:58:08.934]
[07:58:08.934] warn: incorrect peer dependency "[email protected]"
[07:58:08.935]
[07:58:08.935] warn: incorrect peer dependency "[email protected]"
[07:58:08.935]
[07:58:08.935] warn: incorrect peer dependency "[email protected]"
[07:58:08.935]
[07:58:08.935] warn: incorrect peer dependency "[email protected]"
[07:58:08.935]
[07:58:08.935] warn: incorrect peer dependency "[email protected]"
[07:58:08.935]
[07:58:08.935] warn: incorrect peer dependency "[email protected]"
[07:58:08.935]
[07:58:08.935] warn: incorrect peer dependency "[email protected]"
[07:58:08.935]
[07:58:08.935] warn: incorrect peer dependency "[email protected]"
[07:58:08.935]
[07:58:08.935] warn: incorrect peer dependency "[email protected]"
[07:58:08.935]
[07:58:08.935] warn: incorrect peer dependency "[email protected]"
[07:58:08.935]
[07:58:08.935] warn: incorrect peer dependency "[email protected]"
[07:58:08.935]
[07:58:08.935] warn: incorrect peer dependency "[email protected]"
[07:58:08.935]
[07:58:08.935] warn: incorrect peer dependency "[email protected]"
[07:58:08.936]
[07:58:08.936] warn: incorrect peer dependency "[email protected]"
[07:58:08.936]
[07:58:08.936] warn: incorrect peer dependency "[email protected]"
[07:58:08.936]
[07:58:08.936] warn: incorrect peer dependency "[email protected]"
[07:58:08.936]
[07:58:08.936] warn: incorrect peer dependency "[email protected]"
[07:58:08.936]
[07:58:08.936] warn: incorrect peer dependency "[email protected]"
[07:58:08.936]
[07:58:08.936] warn: incorrect peer dependency "[email protected]"
[07:58:08.936]
[07:58:08.936] warn: incorrect peer dependency "[email protected]"
[07:58:08.936]
[07:58:08.936] warn: incorrect peer dependency "[email protected]"
[07:58:08.936]
[07:58:08.936] warn: incorrect peer dependency "[email protected]"
[07:58:08.941]
[07:58:08.941] warn: incorrect peer dependency "[email protected]"
[07:58:08.941]
[07:58:08.942] warn: incorrect peer dependency "[email protected]"
[07:58:08.942]
[07:58:08.942] warn: incorrect peer dependency "[email protected]"
[07:58:08.942]
[07:58:08.942] warn: incorrect peer dependency "[email protected]"
[07:58:08.942]
[07:58:08.943] warn: incorrect peer dependency "[email protected]"
[07:58:08.943]
[07:58:08.943] warn: incorrect peer dependency "[email protected]"
[07:58:08.943]
[07:58:08.943] warn: incorrect peer dependency "[email protected]"
[07:58:08.943]
[07:58:08.944] warn: incorrect peer dependency "[email protected]"
[07:58:08.944]
[07:58:08.944] warn: incorrect peer dependency "[email protected]"
[07:58:08.944]
[07:58:08.944] warn: incorrect peer dependency "[email protected]"
[07:58:08.944]
[07:58:08.945] warn: incorrect peer dependency "[email protected]"
[07:58:08.945]
[07:58:08.945] warn: incorrect peer dependency "[email protected]"
[07:58:08.945]
[07:58:08.945] warn: incorrect peer dependency "[email protected]"
[07:58:08.945]
[07:58:08.945] warn: incorrect peer dependency "@octokit/[email protected]"
[07:58:52.615] Saved lockfile
[07:58:52.616]
[07:58:52.617] $ husky
[07:58:52.677]
[07:58:52.678] + @commitlint/[email protected]
[07:58:52.678] + @edge-runtime/[email protected]
[07:58:52.678] + @huggingface/[email protected] (v0.19.22 available)
[07:58:52.678] + @lobehub/[email protected]
[07:58:52.678] + @lobehub/[email protected]
[07:58:52.678] + @lobehub/[email protected]
[07:58:52.678] + @next/[email protected]
[07:58:52.678] + @next/[email protected]
[07:58:52.678] + @peculiar/[email protected]
[07:58:52.678] + @prettier/[email protected]
[07:58:52.678] + @semantic-release/[email protected] (v7.1.0 available)
[07:58:52.678] + @testing-library/[email protected]
[07:58:52.678] + @testing-library/[email protected]
[07:58:52.679] + @testing-library/[email protected]
[07:58:52.679] + @types/[email protected]
[07:58:52.679] + @types/[email protected]
[07:58:52.679] + @types/[email protected]
[07:58:52.679] + @types/[email protected] (v8.0.0 available)
[07:58:52.679] + @types/[email protected]
[07:58:52.679] + @types/[email protected]
[07:58:52.679] + @types/[email protected]
[07:58:52.679] + @types/[email protected]
[07:58:52.679] + @types/[email protected]
[07:58:52.679] + @types/[email protected] (v24.0.10 available)
[07:58:52.679] + @types/[email protected]
[07:58:52.680] + @types/[email protected] (v9.1.1 available)
[07:58:52.680] + @types/[email protected]
[07:58:52.680] + @types/[email protected]
[07:58:52.680] + @types/[email protected]
[07:58:52.680] + @types/[email protected]
[07:58:52.680] + @types/[email protected]
[07:58:52.680] + @types/[email protected]
[07:58:52.680] + @types/[email protected]
[07:58:52.680] + @types/[email protected]
[07:58:52.680] + @types/[email protected]
[07:58:52.680] + @types/[email protected]
[07:58:52.682] + @vitest/[email protected]
[07:58:52.683] + [email protected]
[07:58:52.683] + [email protected]
[07:58:52.683] + [email protected]
[07:58:52.683] + [email protected]
[07:58:52.683] + [email protected]
[07:58:52.683] + [email protected] (v0.16.1 available)
[07:58:52.683] + [email protected] (v17.0.1 available)
[07:58:52.683] + [email protected]
[07:58:52.683] + [email protected]
[07:58:52.683] + [email protected] (v0.31.4 available)
[07:58:52.683] + [email protected] (v9.30.1 available)
[07:58:52.683] + [email protected]
[07:58:52.683] + [email protected]
[07:58:52.684] + [email protected]
[07:58:52.684] + [email protected]
[07:58:52.684] + [email protected] (v18.0.1 available)
[07:58:52.684] + [email protected]
[07:58:52.684] + [email protected]
[07:58:52.684] + [email protected] (v16.1.2 available)
[07:58:52.684] + [email protected]
[07:58:52.684] + [email protected]
[07:58:52.684] + [email protected]
[07:58:52.684] + [email protected]
[07:58:52.685] + [email protected]
[07:58:52.685] + [email protected]
[07:58:52.685] + [email protected]
[07:58:52.685] + [email protected]
[07:58:52.685] + [email protected]
[07:58:52.685] + [email protected]
[07:58:52.685] + [email protected]
[07:58:52.685] + [email protected]
[07:58:52.685] + [email protected]
[07:58:52.685] + [email protected] (v24.2.6 available)
[07:58:52.686] + [email protected]
[07:58:52.686] + [email protected] (v16.21.0 available)
[07:58:52.686] + [email protected] (v4.20.3 available)
[07:58:52.686] + [email protected]
[07:58:52.686] + [email protected]
[07:58:52.686] + [email protected]
[07:58:52.686] + [email protected] (v7.0.0 available)
[07:58:52.686] + [email protected]
[07:58:52.686] + [email protected]
[07:58:52.686] + @ant-design/[email protected] (v6.0.0 available)
[07:58:52.686] + @ant-design/[email protected]
[07:58:52.686] + @anthropic-ai/[email protected] (v0.55.1 available)
[07:58:52.686] + @auth/[email protected] (v0.40.0 available)
[07:58:52.686] + @aws-sdk/[email protected]
[07:58:52.686] + @aws-sdk/[email protected]
[07:58:52.686] + @aws-sdk/[email protected]
[07:58:52.687] + @azure-rest/[email protected]
[07:58:52.687] + @azure/[email protected]
[07:58:52.687] + @cfworker/[email protected]
[07:58:52.687] + @clerk/[email protected]
[07:58:52.687] + @clerk/[email protected]
[07:58:52.687] + @clerk/[email protected]
[07:58:52.687] + @codesandbox/[email protected]
[07:58:52.687] + @cyntler/[email protected]
[07:58:52.688] + @electric-sql/[email protected] (v0.3.4 available)
[07:58:52.688] + @google/[email protected]
[07:58:52.688] + @huggingface/[email protected] (v4.3.0 available)
[07:58:52.688] + @icons-pack/[email protected] (v13.3.0 available)
[07:58:52.688] + @khmyznikov/[email protected] (v0.5.7 available)
[07:58:52.688] + @langchain/[email protected]
[07:58:52.688] + @lobechat/electron-client-ipc@workspace:packages/electron-client-ipc
[07:58:52.688] + @lobechat/electron-server-ipc@workspace:packages/electron-server-ipc
[07:58:52.688] + @lobechat/file-loaders@workspace:packages/file-loaders
[07:58:52.688] + @lobechat/web-crawler@workspace:packages/web-crawler
[07:58:52.688] + @lobehub/[email protected]
[07:58:52.688] + @lobehub/[email protected]
[07:58:52.688] + @lobehub/[email protected]
[07:58:52.690] + @lobehub/[email protected]
[07:58:52.691] + @lobehub/[email protected]
[07:58:52.692] + @lobehub/[email protected]
[07:58:52.692] + @modelcontextprotocol/[email protected]
[07:58:52.692] + @neondatabase/[email protected]
[07:58:52.692] + @next/[email protected]
[07:58:52.692] + @react-spring/[email protected] (v10.0.1 available)
[07:58:52.692] + @sentry/[email protected] (v9.34.0 available)
[07:58:52.692] + @serwist/[email protected]
[07:58:52.692] + @t3-oss/[email protected] (v0.13.8 available)
[07:58:52.692] + @tanstack/[email protected]
[07:58:52.692] + @trpc/[email protected]
[07:58:52.692] + @trpc/[email protected]
[07:58:52.692] + @trpc/[email protected]
[07:58:52.692] + @trpc/[email protected]
[07:58:52.692] + @vercel/[email protected]
[07:58:52.692] + @vercel/[email protected]
[07:58:52.692] + @vercel/[email protected]
[07:58:52.692] + @vercel/[email protected]
[07:58:52.692] + @xterm/[email protected]
[07:58:52.692] + [email protected]
[07:58:52.692] + [email protected] (v4.3.16 available)
[07:58:52.692] + [email protected] (v5.26.3 available)
[07:58:52.692] + [email protected]
[07:58:52.692] + [email protected]
[07:58:52.692] + [email protected]
[07:58:52.692] + [email protected]
[07:58:52.692] + [email protected]
[07:58:52.693] + [email protected]
[07:58:52.693] + [email protected] (v4.0.11 available)
[07:58:52.693] + [email protected] (v8.0.2 available)
[07:58:52.693] + [email protected] (v0.44.2 available)
[07:58:52.693] + [email protected] (v0.8.2 available)
[07:58:52.693] + [email protected]
[07:58:52.693] + [email protected]
[07:58:52.693] + [email protected] (v21.0.0 available)
[07:58:52.693] + [email protected]
[07:58:52.693] + [email protected] (v3.0.1 available)
[07:58:52.693] + [email protected]
[07:58:52.693] + [email protected]
[07:58:52.693] + [email protected] (v25.3.0 available)
[07:58:52.693] + [email protected]
[07:58:52.694] + [email protected]
[07:58:52.694] + [email protected]
[07:58:52.694] + [email protected]
[07:58:52.694] + [email protected] (v6.0.11 available)
[07:58:52.694] + [email protected]
[07:58:52.694] + [email protected]
[07:58:52.694] + [email protected] (v5.3.4 available)
[07:58:52.694] + [email protected]
[07:58:52.694] + [email protected]
[07:58:52.694] + [email protected]
[07:58:52.694] + [email protected]
[07:58:52.695] + [email protected] (v0.525.0 available)
[07:58:52.695] + [email protected]
[07:58:52.695] + [email protected]
[07:58:52.695] + [email protected]
[07:58:52.695] + [email protected]
[07:58:52.695] + [email protected]
[07:58:52.695] + [email protected]
[07:58:52.695] + [email protected]
[07:58:52.695] + [email protected]
[07:58:52.695] + [email protected]
[07:58:52.695] + [email protected]
[07:58:52.695] + [email protected]
[07:58:52.695] + [email protected]
[07:58:52.695] + [email protected] (v9.2.0 available)
[07:58:52.695] + [email protected]
[07:58:52.695] + [email protected] (v5.8.2 available)
[07:58:52.695] + [email protected] (v0.14.0 available)
[07:58:52.696] + [email protected]
[07:58:52.696] + [email protected]
[07:58:52.696] + [email protected]
[07:58:52.696] + [email protected] (v5.3.31 available)
[07:58:52.696] + [email protected]
[07:58:52.697] + [email protected]
[07:58:52.697] + [email protected]
[07:58:52.697] + [email protected]
[07:58:52.697] + [email protected]
[07:58:52.697] + [email protected]
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected] (v10.0.1 available)
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected] (v0.4.3 available)
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected]
[07:58:52.698] + [email protected]
[07:58:52.699] + [email protected]
[07:58:52.699] + [email protected]
[07:58:52.699] + [email protected]
[07:58:52.699] + [email protected]
[07:58:52.699] + [email protected]
[07:58:52.699] + [email protected] (v0.34.2 available)
[07:58:52.699] + [email protected]
[07:58:52.699] + [email protected] (v18.3.0 available)
[07:58:52.699] + [email protected]
[07:58:52.699] + [email protected]
[07:58:52.699] + [email protected]
[07:58:52.699] + [email protected]
[07:58:52.700] + [email protected] (v1.1.0 available)
[07:58:52.700] + [email protected] (v2.0.1 available)
[07:58:52.700] + [email protected] (v2.0.4 available)
[07:58:52.700] + [email protected] (v0.25.2 available)
[07:58:52.700] + [email protected]
[07:58:52.700] + [email protected]
[07:58:52.700] + [email protected]
[07:58:52.700] + [email protected]
[07:58:52.700] + [email protected]
[07:58:52.700] + [email protected]
[07:58:52.700] + [email protected]
[07:58:52.700] + [email protected]
[07:58:52.700] + [email protected]
[07:58:52.700] + [email protected]
[07:58:52.700] + [email protected] (v5.0.6 available)
[07:58:52.700] + [email protected]
[07:58:52.700]
[07:58:52.790] 2937 packages installed [66.72s]
[07:58:52.790]
[07:58:52.790] Blocked 10 postinstalls. Run
bun pm untrustedfor details.[07:58:52.836] Detected Next.js version: 15.3.4
[07:58:52.836] Running "NODE_OPTIONS=--max-old-space-size=6144 bun run build"
[07:58:52.945] $ tsx scripts/prebuild.mts
[07:58:53.939] Starting prebuild cleanup...
[07:58:53.942] ♻️ Removed src/app/desktop successfully
[07:58:53.944] ♻️ Removed src/app/(backend)/trpc/desktop successfully
[07:58:53.944] Prebuild cleanup completed.
[07:58:53.993] $ next build
[07:58:55.202] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[07:58:55.203] This information is used to shape Next.js' roadmap and prioritize features.
[07:58:55.203] 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:
[07:58:55.203] https://nextjs.org/telemetry
[07:58:55.203]
[07:58:55.307] ▲ Next.js 15.3.4
[07:58:55.308] - Experiments (use with caution):
[07:58:55.308] ⨯ serverMinification
[07:58:55.308]
[07:58:55.354] Creating an optimized production build ...
[07:58:55.759] ○ (serwist) The service worker will not be automatically registered, please call 'window.serwist.register()' in 'componentDidMount' or 'useEffect'.
[07:58:55.765] ✓ (serwist) Bundling the service worker script with the URL '/sw.js' and the scope '/'...
[08:02:52.816] [webpack.cache.PackFileCacheStrategy] Serializing big strings (149kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)
[08:02:52.879] [webpack.cache.PackFileCacheStrategy] Serializing big strings (128kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)
[08:06:20.440] ⚠ Compiled with warnings in 7.4min
[08:06:20.440]
[08:06:20.441] /_next/static/media/postgres.f4d4c3f7.wasm is 8.09 MB, and won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.
[08:06:20.441]
[08:06:20.441] /_next/static/media/postgres.37e5aa16.data is 5.4 MB, and won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.
[08:06:20.441]
[08:06:20.670] Linting and checking validity of types ...
[08:08:55.556] Collecting page data ...
[08:08:58.273] ⚠ Using edge runtime on a page currently disables static generation for that page
[08:09:35.940] Generating static pages (0/867) ...
[08:10:28.252] Generating static pages (216/867)
[08:10:56.202] Generating static pages (433/867)
[08:11:19.499] Generating static pages (650/867)
[08:11:43.764] ✓ Generating static pages (867/867)
[08:11:43.834] Finalizing page optimization ...
[08:11:43.836] Collecting build traces ...
[08:11:43.846]
[08:11:43.901] Route (app) Size First Load JS Revalidate Expire
[08:11:43.901] ┌ ○ /_not-found 993 B 123 kB
[08:11:43.901] ├ ● /[variants] 40 kB 669 kB
[08:11:43.901] ├ ├ /en-US__1__dark
[08:11:43.901] ├ ├ /en-US__0__dark
[08:11:43.901] ├ ├ /en-US__1__light
[08:11:43.902] ├ └ [+5 more paths]
[08:11:43.902] ├ ● /[variants]/(.)changelog/modal 2.37 kB 968 kB 1h 1y
[08:11:43.902] ├ ├ /en-US__1__dark/(.)changelog/modal 1h 1y
[08:11:43.902] ├ ├ /en-US__0__dark/(.)changelog/modal 1h 1y
[08:11:43.902] ├ ├ /en-US__1__light/(.)changelog/modal 1h 1y
[08:11:43.902] ├ └ [+5 more paths]
[08:11:43.902] ├ ● /[variants]/changelog 10.9 kB 960 kB 1h 1y
[08:11:43.902] ├ ├ /en-US__1__dark/changelog 1h 1y
[08:11:43.903] ├ ├ /en-US__0__dark/changelog 1h 1y
[08:11:43.903] ├ ├ /en-US__1__light/changelog 1h 1y
[08:11:43.903] ├ └ [+5 more paths]
[08:11:43.903] ├ ● /[variants]/changelog/modal 3.21 kB 125 kB
[08:11:43.903] ├ ├ /en-US__1__dark/changelog/modal
[08:11:43.903] ├ ├ /en-US__0__dark/changelog/modal
[08:11:43.903] ├ ├ /en-US__1__light/changelog/modal
[08:11:43.903] ├ └ [+5 more paths]
[08:11:43.903] ├ ● /[variants]/chat 34 kB 958 kB
[08:11:43.906] ├ ├ /en-US__1__dark/chat
[08:11:43.906] ├ ├ /en-US__0__dark/chat 1h 1y
[08:11:43.906] ├ ├ /en-US__1__light/chat
[08:11:43.906] ├ └ [+5 more paths]
[08:11:43.906] ├ ● /[variants]/chat/settings 19.9 kB 2.01 MB
[08:11:43.906] ├ ├ /en-US__1__dark/chat/settings
[08:11:43.906] ├ ├ /en-US__0__dark/chat/settings
[08:11:43.906] ├ ├ /en-US__1__light/chat/settings
[08:11:43.906] ├ └ [+5 more paths]
[08:11:43.906] ├ ● /[variants]/discover 6.46 kB 640 kB
[08:11:43.906] ├ ├ /en-US__1__dark/discover
[08:11:43.906] ├ ├ /en-US__0__dark/discover
[08:11:43.907] ├ ├ /en-US__1__light/discover
[08:11:43.907] ├ └ [+5 more paths]
[08:11:43.907] ├ ƒ /[variants]/discover/assistant/[slug] 25 kB 1.13 MB
[08:11:43.907] ├ ● /[variants]/discover/assistants 1.42 kB 367 kB
[08:11:43.907] ├ ├ /en-US__1__dark/discover/assistants
[08:11:43.907] ├ ├ /en-US__0__dark/discover/assistants
[08:11:43.907] ├ ├ /en-US__1__light/discover/assistants
[08:11:43.907] ├ └ [+5 more paths]
[08:11:43.907] ├ ● /[variants]/discover/assistants/[slug] 1.42 kB 367 kB
[08:11:43.907] ├ ├ /en-US__1__dark/discover/assistants/academic
[08:11:43.907] ├ ├ /en-US__1__dark/discover/assistants/all
[08:11:43.909] ├ ├ /en-US__1__dark/discover/assistants/career
[08:11:43.909] ├ └ [+117 more paths]
[08:11:43.909] ├ ƒ /[variants]/discover/model/[...slugs] 27.7 kB 784 kB
[08:11:43.909] ├ ● /[variants]/discover/models 209 B 630 kB
[08:11:43.909] ├ ├ /en-US__1__dark/discover/models
[08:11:43.909] ├ ├ /en-US__0__dark/discover/models
[08:11:43.909] ├ ├ /en-US__1__light/discover/models
[08:11:43.909] ├ └ [+5 more paths]
[08:11:43.909] ├ ● /[variants]/discover/models/[slug] 209 B 630 kB
[08:11:43.909] ├ ├ /en-US__1__dark/discover/models/openai
[08:11:43.909] ├ ├ /en-US__1__dark/discover/models/ollama
[08:11:43.909] ├ ├ /en-US__1__dark/discover/models/anthropic
[08:11:43.910] ├ └ [+325 more paths]
[08:11:43.910] ├ ƒ /[variants]/discover/plugin/[slug] 20.5 kB 867 kB
[08:11:43.910] ├ ● /[variants]/discover/plugins 204 B 365 kB
[08:11:43.910] ├ ├ /en-US__1__dark/discover/plugins
[08:11:43.910] ├ ├ /en-US__0__dark/discover/plugins
[08:11:43.910] ├ ├ /en-US__1__light/discover/plugins
[08:11:43.910] ├ └ [+5 more paths]
[08:11:43.910] ├ ● /[variants]/discover/plugins/[slug] 205 B 365 kB
[08:11:43.910] ├ ├ /en-US__1__dark/discover/plugins/all
[08:11:43.910] ├ ├ /en-US__1__dark/discover/plugins/gaming-entertainment
[08:11:43.910] ├ ├ /en-US__1__dark/discover/plugins/lifestyle
[08:11:43.910] ├ └ [+69 more paths]
[08:11:43.910] ├ ƒ /[variants]/discover/provider/[slug] 15.8 kB 1.29 MB
[08:11:43.910] ├ ● /[variants]/discover/providers 2.46 kB 599 kB
[08:11:43.910] ├ ├ /en-US__1__dark/discover/providers
[08:11:43.910] ├ ├ /en-US__0__dark/discover/providers
[08:11:43.911] ├ ├ /en-US__1__light/discover/providers
[08:11:43.911] ├ └ [+5 more paths]
[08:11:43.911] ├ ● /[variants]/discover/search 7.7 kB 664 kB
[08:11:43.911] ├ ├ /en-US__1__dark/discover/search
[08:11:43.911] ├ ├ /en-US__0__dark/discover/search
[08:11:43.911] ├ ├ /en-US__1__light/discover/search
[08:11:43.911] ├ └ [+5 more paths]
[08:11:43.911] ├ ● /[variants]/files 912 B 931 kB
[08:11:43.911] ├ ├ /en-US__1__dark/files
[08:11:43.911] ├ ├ /en-US__0__dark/files
[08:11:43.911] ├ ├ /en-US__1__light/files
[08:11:43.911] ├ └ [+5 more paths]
[08:11:43.912] ├ ƒ /[variants]/files/(.)[id] 1.22 kB 970 kB
[08:11:43.912] ├ ƒ /[variants]/files/[id] 984 B 962 kB
[08:11:43.912] ├ ƒ /[variants]/login/[[...login]] 2.32 kB 157 kB
[08:11:43.912] ├ ● /[variants]/me 24.9 kB 688 kB
[08:11:43.912] ├ ├ /en-US__1__dark/me
[08:11:43.912] ├ ├ /en-US__0__dark/me
[08:11:43.912] ├ ├ /en-US__1__light/me
[08:11:43.912] ├ └ [+5 more paths]
[08:11:43.912] ├ ● /[variants]/me/data 11.6 kB 1.16 MB
[08:11:43.912] ├ ├ /en-US__1__dark/me/data
[08:11:43.912] ├ ├ /en-US__0__dark/me/data
[08:11:43.912] ├ ├ /en-US__1__light/me/data
[08:11:43.912] ├ └ [+5 more paths]
[08:11:43.912] ├ ● /[variants]/me/profile 20.3 kB 613 kB
[08:11:43.912] ├ ├ /en-US__1__dark/me/profile
[08:11:43.912] ├ ├ /en-US__0__dark/me/profile
[08:11:43.913] ├ ├ /en-US__1__light/me/profile
[08:11:43.913] ├ └ [+5 more paths]
[08:11:43.913] ├ ● /[variants]/me/settings 10.9 kB 303 kB
[08:11:43.913] ├ ├ /en-US__1__dark/me/settings
[08:11:43.913] ├ ├ /en-US__0__dark/me/settings
[08:11:43.913] ├ ├ /en-US__1__light/me/settings
[08:11:43.913] ├ └ [+5 more paths]
[08:11:43.913] ├ ● /[variants]/next-auth/error 28.1 kB 1.22 MB
[08:11:43.913] ├ ├ /en-US__1__dark/next-auth/error
[08:11:43.913] ├ ├ /en-US__0__dark/next-auth/error
[08:11:43.913] ├ ├ /en-US__1__light/next-auth/error
[08:11:43.913] ├ └ [+5 more paths]
[08:11:43.913] ├ ● /[variants]/next-auth/signin 63.4 kB 1.62 MB
[08:11:43.913] ├ ├ /en-US__1__dark/next-auth/signin
[08:11:43.913] ├ ├ /en-US__0__dark/next-auth/signin
[08:11:43.914] ├ ├ /en-US__1__light/next-auth/signin
[08:11:43.914] ├ └ [+5 more paths]
[08:11:43.914] ├ ƒ /[variants]/oauth/consent/[uid] 35.9 kB 691 kB
[08:11:43.914] ├ ƒ /[variants]/oauth/consent/[uid]/failed 8.35 kB 306 kB
[08:11:43.914] ├ ƒ /[variants]/oauth/consent/[uid]/success 9.07 kB 301 kB
[08:11:43.914] ├ ● /[variants]/oauth/handoff 9.02 kB 276 kB
[08:11:43.914] ├ ├ /en-US__1__dark/oauth/handoff
[08:11:43.914] ├ ├ /en-US__0__dark/oauth/handoff
[08:11:43.914] ├ ├ /en-US__1__light/oauth/handoff
[08:11:43.914] ├ └ [+5 more paths]
[08:11:43.914] ├ ƒ /[variants]/profile/[[...slugs]] 25.8 kB 806 kB
[08:11:43.914] ├ ● /[variants]/profile/security 2.19 kB 264 kB
[08:11:43.914] ├ ├ /en-US__1__dark/profile/security
[08:11:43.914] ├ ├ /en-US__0__dark/profile/security
[08:11:43.914] ├ ├ /en-US__1__light/profile/security
[08:11:43.915] ├ └ [+5 more paths]
[08:11:43.915] ├ ● /[variants]/profile/stats 47.4 kB 1.05 MB
[08:11:43.915] ├ ├ /en-US__1__dark/profile/stats
[08:11:43.915] ├ ├ /en-US__0__dark/profile/stats
[08:11:43.916] ├ ├ /en-US__1__light/profile/stats
[08:11:43.916] ├ └ [+5 more paths]
[08:11:43.916] ├ ƒ /[variants]/repos/[id] 7.5 kB 949 kB
[08:11:43.916] ├ ƒ /[variants]/repos/[id]/evals 260 B 122 kB
[08:11:43.916] ├ ƒ /[variants]/repos/[id]/evals/dataset 14.3 kB 1.18 MB
[08:11:43.916] ├ ƒ /[variants]/repos/[id]/evals/evaluation 13.1 kB 1.13 MB
[08:11:43.916] ├ ● /[variants]/settings/about 33.9 kB 731 kB
[08:11:43.916] ├ ├ /en-US__1__dark/settings/about
[08:11:43.916] ├ ├ /en-US__0__dark/settings/about
[08:11:43.916] ├ ├ /en-US__1__light/settings/about
[08:11:43.916] ├ └ [+5 more paths]
[08:11:43.916] ├ ● /[variants]/settings/agent 22.9 kB 2.01 MB
[08:11:43.916] ├ ├ /en-US__1__dark/settings/agent
[08:11:43.916] ├ ├ /en-US__0__dark/settings/agent
[08:11:43.916] ├ ├ /en-US__1__light/settings/agent
[08:11:43.917] ├ └ [+5 more paths]
[08:11:43.917] ├ ● /[variants]/settings/common 50.2 kB 1.24 MB
[08:11:43.917] ├ ├ /en-US__1__dark/settings/common
[08:11:43.917] ├ ├ /en-US__0__dark/settings/common
[08:11:43.917] ├ ├ /en-US__1__light/settings/common
[08:11:43.917] ├ └ [+5 more paths]
[08:11:43.917] ├ ● /[variants]/settings/hotkey 24.9 kB 711 kB
[08:11:43.917] ├ ├ /en-US__1__dark/settings/hotkey
[08:11:43.917] ├ ├ /en-US__0__dark/settings/hotkey
[08:11:43.917] ├ ├ /en-US__1__light/settings/hotkey
[08:11:43.918] ├ └ [+5 more paths]
[08:11:43.918] ├ ● /[variants]/settings/llm 17.3 kB 1.73 MB
[08:11:43.918] ├ ├ /en-US__1__dark/settings/llm
[08:11:43.918] ├ ├ /en-US__0__dark/settings/llm
[08:11:43.918] ├ ├ /en-US__1__light/settings/llm
[08:11:43.918] ├ └ [+5 more paths]
[08:11:43.918] ├ ● /[variants]/settings/provider 25.7 kB 752 kB
[08:11:43.918] ├ ├ /en-US__1__dark/settings/provider
[08:11:43.918] ├ ├ /en-US__0__dark/settings/provider
[08:11:43.919] ├ ├ /en-US__1__light/settings/provider
[08:11:43.919] ├ └ [+5 more paths]
[08:11:43.919] ├ ƒ /[variants]/settings/provider/[id] 6.13 kB 1.44 MB
[08:11:43.919] ├ ● /[variants]/settings/provider/azure 6.7 kB 1.78 MB
[08:11:43.919] ├ ├ /en-US__1__dark/settings/provider/azure
[08:11:43.919] ├ ├ /en-US__0__dark/settings/provider/azure
[08:11:43.919] ├ ├ /en-US__1__light/settings/provider/azure
[08:11:43.919] ├ └ [+5 more paths]
[08:11:43.920] ├ ● /[variants]/settings/provider/azureai 6.29 kB 1.44 MB
[08:11:43.920] ├ ├ /en-US__1__dark/settings/provider/azureai
[08:11:43.920] ├ ├ /en-US__0__dark/settings/provider/azureai
[08:11:43.920] ├ ├ /en-US__1__light/settings/provider/azureai
[08:11:43.920] ├ └ [+5 more paths]
[08:11:43.920] ├ ● /[variants]/settings/provider/bedrock 6.4 kB 1.44 MB
[08:11:43.920] ├ ├ /en-US__1__dark/settings/provider/bedrock
[08:11:43.920] ├ ├ /en-US__0__dark/settings/provider/bedrock
[08:11:43.921] ├ ├ /en-US__1__light/settings/provider/bedrock
[08:11:43.922] ├ └ [+5 more paths]
[08:11:43.922] ├ ● /[variants]/settings/provider/cloudflare 6.29 kB 1.44 MB
[08:11:43.922] ├ ├ /en-US__1__dark/settings/provider/cloudflare
[08:11:43.922] ├ ├ /en-US__0__dark/settings/provider/cloudflare
[08:11:43.922] ├ ├ /en-US__1__light/settings/provider/cloudflare
[08:11:43.922] ├ └ [+5 more paths]
[08:11:43.922] ├ ● /[variants]/settings/provider/github 5.25 kB 1.78 MB
[08:11:43.922] ├ ├ /en-US__1__dark/settings/provider/github
[08:11:43.922] ├ ├ /en-US__0__dark/settings/provider/github
[08:11:43.923] ├ ├ /en-US__1__light/settings/provider/github
[08:11:43.923] ├ └ [+5 more paths]
[08:11:43.923] ├ ● /[variants]/settings/provider/huggingface 5.24 kB 1.78 MB
[08:11:43.923] ├ ├ /en-US__1__dark/settings/provider/huggingface
[08:11:43.923] ├ ├ /en-US__0__dark/settings/provider/huggingface
[08:11:43.923] ├ ├ /en-US__1__light/settings/provider/huggingface
[08:11:43.923] ├ └ [+5 more paths]
[08:11:43.923] ├ ● /[variants]/settings/provider/ollama 8 kB 1.44 MB
[08:11:43.923] ├ ├ /en-US__1__dark/settings/provider/ollama
[08:11:43.924] ├ ├ /en-US__0__dark/settings/provider/ollama
[08:11:43.924] ├ ├ /en-US__1__light/settings/provider/ollama
[08:11:43.924] ├ └ [+5 more paths]
[08:11:43.924] ├ ● /[variants]/settings/provider/openai 5.96 kB 1.44 MB
[08:11:43.924] ├ ├ /en-US__1__dark/settings/provider/openai
[08:11:43.924] ├ ├ /en-US__0__dark/settings/provider/openai
[08:11:43.924] ├ ├ /en-US__1__light/settings/provider/openai
[08:11:43.924] ├ └ [+5 more paths]
[08:11:43.924] ├ ● /[variants]/settings/provider/vertexai 5.23 kB 1.78 MB
[08:11:43.925] ├ ├ /en-US__1__dark/settings/provider/vertexai
[08:11:43.925] ├ ├ /en-US__0__dark/settings/provider/vertexai
[08:11:43.925] ├ ├ /en-US__1__light/settings/provider/vertexai
[08:11:43.925] ├ └ [+5 more paths]
[08:11:43.925] ├ ● /[variants]/settings/storage 7.32 kB 1.22 MB
[08:11:43.925] ├ ├ /en-US__1__dark/settings/storage
[08:11:43.925] ├ ├ /en-US__0__dark/settings/storage
[08:11:43.925] ├ ├ /en-US__1__light/settings/storage
[08:11:43.925] ├ └ [+5 more paths]
[08:11:43.925] ├ ● /[variants]/settings/sync 30.4 kB 775 kB
[08:11:43.926] ├ ├ /en-US__1__dark/settings/sync
[08:11:43.926] ├ ├ /en-US__0__dark/settings/sync
[08:11:43.926] ├ ├ /en-US__1__light/settings/sync
[08:11:43.926] ├ └ [+5 more paths]
[08:11:43.926] ├ ● /[variants]/settings/system-agent 29.3 kB 1.07 MB
[08:11:43.926] ├ ├ /en-US__1__dark/settings/system-agent
[08:11:43.931] ├ ├ /en-US__0__dark/settings/system-agent
[08:11:43.931] ├ ├ /en-US__1__light/settings/system-agent
[08:11:43.931] ├ └ [+5 more paths]
[08:11:43.931] ├ ● /[variants]/settings/tts 25.4 kB 1.04 MB
[08:11:43.931] ├ ├ /en-US__1__dark/settings/tts
[08:11:43.931] ├ ├ /en-US__0__dark/settings/tts
[08:11:43.931] ├ ├ /en-US__1__light/settings/tts
[08:11:43.931] ├ └ [+5 more paths]
[08:11:43.932] ├ ƒ /[variants]/signup/[[...signup]] 2.32 kB 157 kB
[08:11:43.932] ├ ƒ /api/auth/[...nextauth] 260 B 122 kB
[08:11:43.932] ├ ƒ /api/webhooks/casdoor 260 B 122 kB
[08:11:43.932] ├ ƒ /api/webhooks/clerk 260 B 122 kB
[08:11:43.932] ├ ƒ /api/webhooks/logto 260 B 122 kB
[08:11:43.932] ├ ○ /manifest.webmanifest 260 B 122 kB
[08:11:43.932] ├ ƒ /oidc/[...oidc] 260 B 122 kB
[08:11:43.932] ├ ƒ /oidc/consent 260 B 122 kB
[08:11:43.932] ├ ○ /robots.txt 260 B 122 kB
[08:11:43.932] ├ ● /sitemap/[metadata_id] 260 B 122 kB
[08:11:43.932] ├ ├ /sitemap/pages.xml
[08:11:43.932] ├ ├ /sitemap/assistants.xml 1h 1y
[08:11:43.932] ├ ├ /sitemap/plugins.xml 12h 1y
[08:11:43.932] ├ └ [+2 more paths]
[08:11:43.932] ├ ƒ /trpc/async/[trpc] 260 B 122 kB
[08:11:43.932] ├ ƒ /trpc/edge/[trpc] 260 B 122 kB
[08:11:43.932] ├ ƒ /trpc/lambda/[trpc] 260 B 122 kB
[08:11:43.932] ├ ƒ /trpc/tools/[trpc] 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/chat/[provider] 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/chat/anthropic 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/chat/google 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/chat/groq 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/chat/openai 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/chat/vertexai 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/models/[provider] 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/models/[provider]/pull 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/plugin/gateway 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/proxy 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/revalidate 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/stt/openai 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/text-to-image/[provider] 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/tokenizer 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/trace 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/tts/edge 260 B 122 kB
[08:11:43.933] ├ ƒ /webapi/tts/microsoft 260 B 122 kB
[08:11:43.934] ├ ƒ /webapi/tts/openai 260 B 122 kB
[08:11:43.934] └ ƒ /webapi/user/avatar/[id]/[image] 260 B 122 kB
[08:11:43.934] + First Load JS shared by all 122 kB
[08:11:43.934] ├ chunks/25134-214d0fb9b904f3c1.js 47.5 kB
[08:11:43.934] ├ chunks/4bd1b696-a73339157ebd8e49.js 53.2 kB
[08:11:43.934] ├ chunks/webpack-6389653d72c9fddc.js 21.1 kB
[08:11:43.934] └ other shared chunks (total) 237 B
[08:11:43.934]
[08:11:43.934]
[08:11:43.934] ƒ Middleware 283 kB
[08:11:43.934]
[08:11:43.936] ○ (Static) prerendered as static content
[08:11:43.936] ● (SSG) prerendered as static HTML (uses generateStaticParams)
[08:11:43.937] ƒ (Dynamic) server-rendered on demand
[08:11:43.937]
[08:11:44.120] $ bun run build-sitemap && bun run build-migrate-db
[08:11:44.138] $ tsx ./scripts/buildSitemapIndex/index.ts
[08:11:48.595] $ bun run db:migrate
[08:11:48.599] $ MIGRATION_DB=1 tsx ./scripts/migrateServerDB/index.ts
[08:11:54.644] ❌ Database migrate failed: TypeError: Cannot read properties of undefined (reading 'migrate')
[08:11:54.645] at migrate (/vercel/path0/node_modules/src/neon-serverless/migrator.ts:10:19)
[08:11:54.645] at runMigrations (/vercel/path0/scripts/migrateServerDB/index.ts:22:11)
[08:11:54.645] ------------------------------------------------------------------------------------------
[08:11:54.645]
[08:11:54.645]
[08:11:54.645] 1) You might not switch to server db mode, please set the env blow and try again:
[08:11:54.645]
[08:11:54.645]
[08:11:54.645] NEXT_PUBLIC_SERVICE_MODE=server [08:11:54.645][08:11:54.646]
[08:11:54.646] 2) if you are using docker postgres image, you may need to set DATABASE_DRIVER to node
[08:11:54.646]
[08:11:54.646]
[08:11:54.646] DATABASE_DRIVER=node [08:11:54.646][08:11:54.646]
[08:11:54.646] if you have any other question, please open issue here: https://github.com/lobehub/lobe-chat/issues
[08:11:54.646]
[08:11:54.671] error: script "db:migrate" exited with code 1
[08:11:54.672] error: script "build-migrate-db" exited with code 1
[08:11:54.672] error: script "postbuild" exited with code 1
[08:11:54.688] Error: Command "NODE_OPTIONS=--max-old-space-size=6144 bun run build" exited with 1
[08:11:59.994]
[08:12:03.526] Exiting build container
上面的NEXT_PUBLIC_SERVICE_MODE=server 我已经设置了,还是部署失败
Beta Was this translation helpful? Give feedback.
All reactions