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

[bug]: Installation Error during npx shadcn@latest add --all #5601

Closed
2 tasks done
sudsarkar13 opened this issue Oct 28, 2024 · 2 comments
Closed
2 tasks done

[bug]: Installation Error during npx shadcn@latest add --all #5601

sudsarkar13 opened this issue Oct 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@sudsarkar13
Copy link

Describe the bug

Installation Error

Initializing shadcn...
✔ Preflight checks.
✔ Verifying framework. Found Next.js.
✔ Validating Tailwind CSS.
✔ Validating import alias.
✔ Which style would you like to use? › Default
✔ Which color would you like to use as the base color? › Slate
✔ Would you like to use CSS variables for theming? … no / yes
✔ Writing components.json.
✔ Checking registry.
✔ Updating tailwind.config.js
✔ Updating app/globals.css
✔ Installing dependencies.
✔ Created 1 file:
  - lib/utils.ts

Success! Project initialization completed.
You may now add components.

Adding all shadcn components...
⠸ Checking registry.

Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

request to https://ui.shadcn.com/r/styles/default/label.json failed, reason: read ECONNRESET

An error occurred during setup: Command failed: npx shadcn@latest add --all

Affected component/components

All

How to reproduce

npx shadcn@latest add --all

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

# System Details Report
---

## Report details
- **Date generated:**                              2024-10-28 11:39:54

## Hardware Information:
- **Hardware Model:**                              Lenovo IdeaPad Flex 5 14ALC05
- **Memory:**                                      16.0 GiB
- **Processor:**                                   AMD Ryzen™ 7 5700U with Radeon™ Graphics × 16
- **Graphics:**                                    AMD Radeon™ Graphics
- **Disk Capacity:**                               (null)

## Software Information:
- **Firmware Version:**                            GJCN34WW
- **OS Name:**                                     Ubuntu 24.04.1 LTS
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               46
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.8.0-47-generic

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@sudsarkar13 sudsarkar13 added the bug Something isn't working label Oct 28, 2024
@VenoM9078
Copy link

Facing the same issue.. I see shad has updated on Twitter that he's working on it.

@shadcn
Copy link
Collaborator

shadcn commented Oct 28, 2024

I'm working on a fix. Let's use #5557 to track since they are related.

@shadcn shadcn closed this as completed Oct 28, 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

3 participants