This occurs because the v0 component appears to have an invalid dependency declared (pointing to date-picker.json), which doesn’t exist in the official shadcn/ui registry, as the Date Picker is meant to be composed manually.
Expected behavior:
Ideally, the shadcn add command should either:
a) Successfully install the v0 component if its dependencies are valid and exist.
b) Provide a more informative error indicating that a dependency is pointing to a non-existent registry component.
c) Potentially handle the composition automatically if the intent is clear.
Steps to Reproduce:
Initialize a new Next.js 15 project with TypeScript, Tailwind CSS v4, and the App Router.
➜ boxsy-debug git:(main) ✗ npx shadcn@2.3.0 add “https://v0.dev/chat/b/tC1vh0bPZI3” You need to create a components.json file to add components. Proceed? … yes Which style would you like to use? › New York Which color would you like to use as the base color? › Neutral Would you like to use CSS variables for theming? … no / yes Writing components.json.
It looks like you are using React 19.
Some packages may fail to install due to peer dependency issues in npm (see Next.js 15 + React 19 - shadcn/ui).
How would you like to proceed? › Use --legacy-peer-deps
⠙ Checking registry.
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.
Vercel v0 component I am trying to add (https://v0.dev/chat/b/b_iI01DGswwGr) appears to have a dependency on the old, deprecated date-picker component from the shadcn/ui registry.
As we established earlier, date-picker is no longer a standalone component installable via shadcn add by referencing date-picker.json. It needs to be manually constructed using Popover and Calendar. I did that in my codebase.
The only workaround I found was to download the zip file and export it to an empty codebase. I hope the Vercel team can fix the issue to ensure that v0 uses the latest documentation in parallel to make sure there is no version mismatch with Next, Tailwind and Shadcn.
Same issue:
➜ boxsy-debug git:(main) ✗ npx shadcn@2.3.0 add “https://v0.dev/chat/b/b_2ubLoygkfox” You need to create a components.json file to add components. Proceed? … yes Which style would you like to use? › New York Which color would you like to use as the base color? › Neutral Would you like to use CSS variables for theming? … no / yes Writing components.json.
It looks like you are using React 19.
Some packages may fail to install due to peer dependency issues in npm (see Next.js 15 + React 19 - shadcn/ui).
How would you like to proceed? › Use --legacy-peer-deps
⠇ Checking registry.
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.
Thanks for confirming. I have an internal ticket with the v0 team to get this fixed.
In the meantime, you may be able to work around this by manually replacing the missing date picker component with the popover and calendar components as shown in the docs