I encountered a "Something went wrong" error while attempting to add a remote component via the shadcn CLI. The process fails during the registry check because it attempts to fetch a dependency from a path that returns a 404.
Error Message
Something went wrong. Please check the error below for more details.
Message:
The item at [https://ui.shadcn.com/r/styles/radix-maia/bento.json](https://ui.shadcn.com/r/styles/radix-maia/bento.json) was not found.
It may not exist at the registry.
Suggestion:
Check if the item name is correct and the registry URL is accessible.
Steps to Reproduce
Open the terminal in a Shadcn-initialized project (C:\Users\EZ\Documents\GitHub\ITA\Frontend\Admin).
Run the following command:
npx shadcn@latest add "[https://aliimam.in/r/bento-grid-01.json](https://aliimam.in/r/bento-grid-01.json)"
Observe the "Checking registry" spinner followed by the 404 error message.
Environment
OS: Windows 11
I encountered a "Something went wrong" error while attempting to add a remote component via the
shadcnCLI. The process fails during the registry check because it attempts to fetch a dependency from a path that returns a 404.Error Message
Steps to Reproduce
Open the terminal in a Shadcn-initialized project (C:\Users\EZ\Documents\GitHub\ITA\Frontend\Admin).
Run the following command:
Observe the "Checking registry" spinner followed by the 404 error message.
Environment
OS: Windows 11