Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vercel中构建失败 #17

Open
lingPoint opened this issue Mar 1, 2024 · 0 comments
Open

vercel中构建失败 #17

lingPoint opened this issue Mar 1, 2024 · 0 comments

Comments

@lingPoint
Copy link

lingPoint commented Mar 1, 2024

1、新建一个sairin项目
2、在新建项目中将title更改为自己的,自动构建就会失败如下图。
image

[23:06:22.482] Running build in Washington, D.C., USA (East) – iad1
[23:06:23.181] Cloning github.com/lingPoint/Zerox (Branch: main, Commit: aac8095)
[23:06:23.641] Cloning completed: 460.055ms
[23:06:25.376] Restored build cache
[23:06:25.430] Running "vercel build"
[23:06:25.910] Vercel CLI 33.5.3
[23:06:26.264] Installing dependencies...
[23:06:26.556] yarn install v1.22.17
[23:06:26.575] warning package.json: No license field
[23:06:26.585] info No lockfile found.
[23:06:26.590] warning @sairinjs/[email protected]: No license field
[23:06:26.592] [1/4] Resolving packages...
[23:06:29.502] [2/4] Fetching packages...
[23:06:37.044] [3/4] Linking dependencies...
[23:06:38.568] [4/4] Building fresh packages...
[23:06:38.573] success Saved lockfile.
[23:06:38.576] Done in 12.03s.
[23:06:38.606] Detected Next.js version: 12.3.4
[23:06:38.608] Running "yarn run build"
[23:06:38.788] yarn run v1.22.17
[23:06:38.807] warning package.json: No license field
[23:06:38.818] $ next build
[23:06:39.381] info - Linting and checking validity of types...
[23:06:41.703] info - Creating an optimized production build...
[23:06:51.673] info - Compiled successfully
[23:06:51.674] info - Collecting page data...
[23:06:52.193] Error: The provided path / does not match the page: /[...path].
[23:06:52.193] at /vercel/path0/node_modules/next/dist/build/utils.js:629:23
[23:06:52.194] at Array.forEach ()
[23:06:52.194] at buildStaticPaths (/vercel/path0/node_modules/next/dist/build/utils.js:615:17)
[23:06:52.194] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[23:06:52.194] at async /vercel/path0/node_modules/next/dist/build/utils.js:886:115
[23:06:52.194] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:79:20)
[23:06:52.194]
[23:06:52.194] > Build error occurred
[23:06:52.194] Error: Failed to collect page data for /[...path]
[23:06:52.195] at /vercel/path0/node_modules/next/dist/build/utils.js:916:15
[23:06:52.195] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
[23:06:52.195] type: 'Error'
[23:06:52.195] }
[23:06:52.223] error Command failed with exit code 1.
[23:06:52.224] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[23:06:52.246] Error: Command "yarn run build" exited with 1
[23:06:52.503]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant