Skip to content

build failed #12

@ymbrite

Description

@ymbrite

hi.

in vercel.com's console:

00:22:00.958 Running build in Washington, D.C., USA (East) – iad1
00:22:00.959 Build machine configuration: 2 cores, 8 GB
00:22:01.242 Cloning github.com/ymbrite/wntt (Branch: main, Commit: d63e8ad)
00:22:01.243 Previous build caches not available.
00:22:01.901 Cloning completed: 659.000ms
00:22:02.591 Running "vercel build"
00:22:04.165 Vercel CLI 50.1.3
00:22:04.492 Installing dependencies...
00:22:35.396 npm warn deprecated [email protected]: This package is no longer supported.
00:22:35.869 npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
00:22:35.871 npm warn deprecated [email protected]: 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.
00:22:36.337 npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
00:22:36.688 npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
00:22:37.237 npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
00:22:37.485 npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
00:22:37.513 npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
00:22:37.580 npm warn deprecated [email protected]: This package is no longer supported.
00:22:40.659 npm warn deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.
00:22:43.276
00:22:43.277 added 825 packages in 39s
00:22:43.278
00:22:43.278 225 packages are looking for funding
00:22:43.278 run npm fund for details
00:22:43.344 Detected Next.js version: 12.1.0
00:22:43.352 Running "npm run build"
00:22:43.449
00:22:43.449 > [email protected] build
00:22:43.449 > next build
00:22:43.449
00:22:43.938 Attention: Next.js now collects completely anonymous telemetry regarding usage.
00:22:43.939 This information is used to shape Next.js' roadmap and prioritize features.
00:22:43.939 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:
00:22:43.940 https://nextjs.org/telemetry
00:22:43.940
00:22:43.974 info - Checking validity of types...
00:22:50.408
00:22:50.409 Failed to compile.
00:22:50.409
00:22:50.409 ./src/components/Navbar/Centered.tsx
00:22:50.409 120:13 Error: Missing "key" prop for element in iterator react/jsx-key
00:22:50.409
00:22:50.409 ./src/components/Navbar/NavSideBar.tsx
00:22:50.409 57:33 Error: Missing "key" prop for element in iterator react/jsx-key
00:22:50.409
00:22:50.409 ./src/components/Navbar/SimpleNavbar.tsx
00:22:50.410 50:17 Error: Missing "key" prop for element in iterator react/jsx-key
00:22:50.410
00:22:50.410 ./src/components/Slider/index.tsx
00:22:50.410 26:25 Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text
00:22:50.410
00:22:50.410 info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
00:22:50.446 Error: Command "npm run build" exited with 1

how to fix it? tks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions