Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shadcx@latest 404 #3640

Closed
linonetwo opened this issue Oct 16, 2024 · 1 comment
Closed

shadcx@latest 404 #3640

linonetwo opened this issue Oct 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@linonetwo
Copy link

linonetwo commented Oct 16, 2024

Description

pnpm dlx shadcx@latest add link-element -r plate-ui      
Registry "plate-ui" not found in configuration. Using the default registry.
⠴ Checking registry.

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/default/link-element.json was not found.
It may not exist at the registry. Please make sure it is a valid component.

Because https://ui.shadcn.com/r/styles/default/link-element.json is 404

While the old pnpm dlx @udecode/plate-ui@latest add also not working

pnpm dlx @udecode/plate-ui@latest add floating-toolbar
Packages: +180
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 180, reused 179, downloaded 1, added 180, done
⠏ Checking registry.

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/default/floating-toolbar.json was not found.
It may not exist at the registry. Please make sure it is a valid component.

Reproduction URL

No response

Reproduction steps

Following latest cli on https://platejs.org/docs/components/link-element

Plate version

39.0.0

Slate React version

0.103.0

Screenshots

No response

Logs

No response

Browsers

No response

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar
@linonetwo linonetwo added the bug Something isn't working label Oct 16, 2024
@zbeyens
Copy link
Member

zbeyens commented Oct 16, 2024

You need to setup components.json. See https://platejs.org/docs/components/cli

@zbeyens zbeyens closed this as completed Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants