I made a project in v0 and trying to save it locally using the npx shadcn@latest add + the URL of the project on my local Mac machine.
I have node 22, but when I run the command above in an empty directory I get this error:
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.
The component at https://ui.shadcn.com/r/styles/new-york/toaster.json was not found.
It may not exist at the registry. Please make sure it is a valid component.
This also happens if I choose “default” instead of “New York”.
Could you try using the correct command format? So instead of using the v0 project URL, you could use the shadcn-ui CLI to add components directly. The correct format is: