Skip to content

vercel 部署失败 #1

@Famous886

Description

@Famous886

在 vercel 部署失败,显示

[19:14:38.101] Running build in Washington, D.C., USA (East) – iad1
[19:14:38.101] Build machine configuration: 2 cores, 8 GB
[19:14:38.510] Previous build caches not available
[19:14:38.575] Cloning completed: 455.000ms
[19:14:38.998] Running "vercel build"
[19:14:39.438] Vercel CLI 42.2.0
[19:14:39.762] Running "install" command: `npm install`...
[19:14:43.551] npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
[19:14:47.204] npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
[19:14:49.473] npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
[19:14:52.748] npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
[19:14:52.769] npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
[19:14:54.086] npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
[19:14:57.257] 
[19:14:57.258] added 496 packages, and audited 497 packages in 17s
[19:14:57.259] 
[19:14:57.259] 156 packages are looking for funding
[19:14:57.259]   run `npm fund` for details
[19:14:57.302] 
[19:14:57.303] 1 low severity vulnerability
[19:14:57.303] 
[19:14:57.303] To address all issues, run:
[19:14:57.303]   npm audit fix
[19:14:57.304] 
[19:14:57.304] Run `npm audit` for details.
[19:14:57.353] Detected Next.js version: 14.2.29
[19:14:57.354] Running "npm run build"
[19:14:57.467] 
[19:14:57.467] > freeimages@0.1.0 build
[19:14:57.467] > next build
[19:14:57.467] 
[19:14:58.015] 配置文件不存在,使用默认配置
[19:14:58.016] 已创建默认配置文件
[19:14:58.032] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[19:14:58.032] This information is used to shape Next.js' roadmap and prioritize features.
[19:14:58.033] 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:
[19:14:58.033] https://nextjs.org/telemetry
[19:14:58.033] 
[19:14:58.086]   ▲ Next.js 14.2.29
[19:14:58.087] 
[19:14:58.147]    Creating an optimized production build ...
[19:15:12.574]  ✓ Compiled successfully
[19:15:12.575]    Linting and checking validity of types ...
[19:15:17.283] Failed to compile.
[19:15:17.283] 
[19:15:17.284] ./src/app/admin/settings/page.tsx:74:13
[19:15:17.284] Type error: Type 'string[]' is not assignable to type 'never[]'.
[19:15:17.284]   Type 'string' is not assignable to type 'never'.
[19:15:17.303] Next.js build worker exited with code: 1 and signal: null
[19:15:17.321] Error: Command "npm run build" exited with 1
[19:15:17.626] 
[19:15:20.375] Exiting build container

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions