Viewer not working and throwing a lot of errors

06SEP2025: 1200hrs - The code returns the following error:

img is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.

Revise the code to address the error.

Since that time, several errors appeared in the view area, tried to fix them all, but the viewer was still unable to show project.

19:12:16.313Z Failed to initialize LightningCSS: Failed to fetch

19:17:13.395Z

19:17:13.395Z warn - As of Tailwind CSS v2.2, `lightBlue` has been renamed to `sky`.

19:17:13.395Z warn - Update your configuration file to silence this warning.

19:17:13.395Z

19:17:13.395Z warn - As of Tailwind CSS v3.0, `warmGray` has been renamed to `stone`.

19:17:13.395Z warn - Update your configuration file to silence this warning.

19:17:13.395Z

19:17:13.395Z warn - As of Tailwind CSS v3.0, `trueGray` has been renamed to `neutral`.

19:17:13.395Z warn - Update your configuration file to silence this warning.

19:17:13.395Z

19:17:13.395Z warn - As of Tailwind CSS v3.0, `coolGray` has been renamed to `gray`.

19:17:13.395Z warn - Update your configuration file to silence this warning.

19:17:13.395Z

19:17:13.395Z warn - As of Tailwind CSS v3.0, `blueGray` has been renamed to `slate`.

19:17:13.395Z warn - Update your configuration file to silence this warning.

19:17:13.888Z Encountered two children with the same key, `My Connections`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

19:17:28.425Z Encountered two children with the same key, `My Connections`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

Please Assist

Hey, @prone2xtincion-9430! Welcome to the Vercel Community :waving_hand:

Thanks for sharing the errors you’re running into. Based on what you’ve posted, these are mostly development-time issues in your code rather than a Vercel platform bug, so v0 can actually be really helpful here.

Here are some prompts you can try with v0 to quickly diagnose and fix things:

1. General Log Triage

“Analyze this error output from a Next.js + Tailwind app running in the v0 viewer. Classify each issue by root cause and propose a minimal, ordered list of fixes with code examples.”
(Paste your full console/build log under this prompt)

2. Fix Invalid <img> Tags

“Scan the code below and fix all <img> tags that have children or dangerouslySetInnerHTML. Make them self-closing with a proper alt. Show me the corrected code.”
(Paste the components that have <img> tags)

3. Remove Duplicate React Keys

“Find any .map() calls with duplicate or unstable keys and give each list item a unique key (preferably using an id if available). Return the corrected components.”

4. Update Tailwind Color Names

“Replace deprecated Tailwind colors with the new names (lightBlue → sky, warmGray → stone, trueGray → neutral, coolGray → gray, blueGray → slate). Show me the updated code and any tailwind.config.js changes.”

5. Sanity Check & Verification

“Once fixed, give me a quick checklist to verify the fixes locally and in the v0 viewer (e.g., refresh viewer, re-run build, check console).”

These should help you clean up the main issues one by one and confirm whether the v0 viewer itself is still throwing errors after those fixes. If you still see viewer-specific errors after trying these, feel free to share your updated code so folks here can take a closer look. :slight_smile: