Skip to content

78:34 Error: Missing "key" prop for element in iterator react/jsx-key #1

@miali88

Description

@miali88

When deploying to vercel from the repo.

Full logs:
"[11:21:57.508] Running build in Washington, D.C., USA (East) – iad1
[11:21:57.666] Cloning github.com/miali88/fff (Branch: main, Commit: 6d2136c)
[11:21:58.089] Cloning completed: 421.494ms
[11:21:58.094] Previous build cache not available
[11:21:58.412] Running "vercel build"
[11:21:58.820] Vercel CLI 37.4.0
[11:21:59.213] Installing dependencies...
[11:22:10.339]
[11:22:10.342] added 408 packages in 11s
[11:22:10.342]
[11:22:10.342] 142 packages are looking for funding
[11:22:10.342] run npm fund for details
[11:22:10.363] Detected Next.js version: 14.2.8
[11:22:10.366] Running "npm run build"
[11:22:10.641]
[11:22:10.641] > [email protected] build
[11:22:10.642] > next build
[11:22:10.642]
[11:22:12.181] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[11:22:12.182] This information is used to shape Next.js' roadmap and prioritize features.
[11:22:12.182] 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:
[11:22:12.182] https://nextjs.org/telemetry
[11:22:12.182]
[11:22:12.243] ▲ Next.js 14.2.8
[11:22:12.244]
[11:22:12.311] Creating an optimized production build ...
[11:22:29.449]
[11:22:29.450] �[1m�[33mwarn�[39m�[22m - No utility classes were detected in your source files. If this is unexpected, double-check the content option in your Tailwind CSS configuration.
[11:22:29.450] �[1m�[33mwarn�[39m�[22m - https://tailwindcss.com/docs/content-configuration
[11:22:34.731] ✓ Compiled successfully
[11:22:34.733] Linting and checking validity of types ...
[11:22:37.829]
[11:22:37.830] Failed to compile.
[11:22:37.830]
[11:22:37.836] ./app/page.tsx
[11:22:37.836] 59:6 Warning: React Hook useEffect has a missing dependency: 'client'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
[11:22:37.836] 78:34 Error: Missing "key" prop for element in iterator react/jsx-key
[11:22:37.836]
[11:22:37.836] ./app/ssr/page.tsx
[11:22:37.837] 21:11 Error: Missing "key" prop for element in iterator react/jsx-key
[11:22:37.837]
[11:22:37.837] info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
[11:22:37.902] Error: Command "npm run build" exited with 1
[11:22:41.331] "

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions