Broken component preview in v0

Prompting v0 to create a component generates a response and code but the preview stays blank, it gives an error a.render is not a function. I’ve tried this in both Safari and Brave browser (a Chromium variant), I’m on macOS. I’ve tried with multiple prompts across the last week and it hasn’t worked once. By the error, I’m guessing the generated code is not the problem.

Is the preview feature just down at the moment?

Hey, @me-augustfreyta! Welcome to the Vercel Community :raised_hands:

Happy to help here - is it possible for you to share the chat with us?

Preview works fine for my new prompts right now.

Sure, though it happened with all the prompts I tried, I’m only just getting into Shadcn and Tailwind and I was pretty excited about v0. My last attempt was chat id PRKKxMiAb2Y. This was the prompt:

A circular button component that can have a prominent label text. It is intended to be centered. When hovering, it grows slightly larger. When clicked, it grows slightly more. It can have states that change its background colour, e.g. default (inactive), pending (e.g. the action is being performed), and error (e.g. the last action has failed).

Oh, that is interesting. I tried the exact same prompt and got the same error.

Let me report this to the v0 team and loop back with an answer for you! :pray:

Appreciate your patience :slight_smile:

1 Like

Oh, so I just happened to write multiple prompts that triggered the same error, that is very weird.

Helpful information! Thank you @me-augustfreyta. :pray: Reported internally, will get back to you. :smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.