We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@serafimcloud I was trying to install the following component into my existing nextjs-project but getting this persisting error:
❯ npx shadcn@latest add "https://21st.dev/r/ayushmxxn/feature-section" ⠋ Checking registry.Error fetching or parsing registry item at https://21st.dev/r/ayushmxxn/feature-section: ZodError: [ { "received": "registry:blocks", "code": "invalid_enum_value", "options": [ "registry:style", "registry:lib", "registry:example", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:page" ], "path": [ "type" ], "message": "Invalid enum value. Expected 'registry:style' | 'registry:lib' | 'registry:example' | 'registry:block' | 'registry:component' | 'registry:ui' | 'registry:hook' | 'registry:theme' | 'registry:page', received 'registry:blocks'" }, { "received": "registry:blocks", "code": "invalid_enum_value", "options": [ "registry:style", "registry:lib", "registry:example", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:page" ], "path": [ "files", 0, "type" ], "message": "Invalid enum value. Expected 'registry:style' | 'registry:lib' | 'registry:example' | 'registry:block' | 'registry:component' | 'registry:ui' | 'registry:hook' | 'registry:theme' | 'registry:page', received 'registry:blocks'" } ] at get error (file:///C:/Users/xxx/AppData/Local/npm-cache/_npx/xxx/node_modules/zod/lib/index.mjs:587:31) at ZodObject.parse (file:///C:/Users/xxx/AppData/Local/npm-cache/_npx/d66c5096c7023bfb/node_modules/zod/lib/index.mjs:692:22) at n (file:///C:/Users/xxx/AppData/Local/npm-cache/_npx/xxxxx/node_modules/shadcn/dist/index.js:13:373) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Rr (file:///C:/Users/xxx/AppData/Local/npm-cache/_npx/xxx/node_modules/shadcn/dist/index.js:13:551) at async pt (file:///C:/Users/xxx/AppData/Local/npm-cache/_npx/xxx/node_modules/shadcn/dist/index.js:12:439) at async le (file:///C:/Users/xxx/AppData/Local/npm-cache/_npx/xxx/node_modules/shadcn/dist/index.js:21:9640) at async Command.<anonymous> (file:///C:/Users/xxx/AppData/Local/npm-cache/_npx/xxx/node_modules/shadcn/dist/index.js:28:937) { issues: [ { received: 'registry:blocks', code: 'invalid_enum_value', options: [Array], path: [Array], message: "Invalid enum value. Expected 'registry:style' | 'registry:lib' | 'registry:example' | 'registry:block' | 'registry:component' | 'registry:ui' | 'registry:hook' | 'registry:theme' | 'registry:page', received 'registry:blocks'" }, { received: 'registry:blocks', code: 'invalid_enum_value', options: [Array], path: [Array], message: "Invalid enum value. Expected 'registry:style' | 'registry:lib' | 'registry:example' | 'registry:block' | 'registry:component' | 'registry:ui' | 'registry:hook' | 'registry:theme' | 'registry:page', received 'registry:blocks'" } ], addIssue: [Function (anonymous)], addIssues: [Function (anonymous)], errors: [ { received: 'registry:blocks', code: 'invalid_enum_value', options: [Array], path: [Array], message: "Invalid enum value. Expected 'registry:style' | 'registry:lib' | 'registry:example' | 'registry:block' | 'registry:component' | 'registry:ui' | 'registry:hook' | 'registry:theme' | 'registry:page', received 'registry:blocks'" }, { received: 'registry:blocks', code: 'invalid_enum_value', options: [Array], path: [Array], message: "Invalid enum value. Expected 'registry:style' | 'registry:lib' | 'registry:example' | 'registry:block' | 'registry:component' | 'registry:ui' | 'registry:hook' | 'registry:theme' | 'registry:page', received 'registry:blocks'" } ] } Something went wrong. Please check the error below for more details. If the problem persists, please open an issue on GitHub. Validation failed: - dependencies: Expected array, received object - devDependencies: Expected array, received object - files: Expected array, received object
-- It seems i can only install this component only
The text was updated successfully, but these errors were encountered:
', ..."pattern":
No branches or pull requests
@serafimcloud I was trying to install the following component into my existing nextjs-project but getting this persisting error:
--
It seems i can only install this component only
The text was updated successfully, but these errors were encountered: