Open luco opened 2 months ago
Maybe it's something with Vercel DNS.
ping ui.shadcn.com
PING cname.vercel-dns.com (76.76.21.164): 56 data bytes
Request timeout for icmp_seq 0
Now pinging correctly:
ping ui.shadcn.com
PING cname.vercel-dns.com (76.76.21.61): 56 data bytes
64 bytes from 76.76.21.61: icmp_seq=0 ttl=243 time=11.711 ms
64 bytes from 76.76.21.61: icmp_seq=1 ttl=243 time=14.729 ms
64 bytes from 76.76.21.61: icmp_seq=2 ttl=243 time=11.605 ms
@luco 怎么解决的呢?
please how can i go around this issue, because i have been trying to install nextjs with shadcn but i keep getting this error.
It's something with Vercel DNS I think.
It's back lol. Same timeout:
PING 76.76.21.164 (76.76.21.164): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
Request timeout for icmp_seq 7
Request timeout for icmp_seq 8
Request timeout for icmp_seq 9
Request timeout for icmp_seq 10
I have the same problem
➜ front git:(main) ✗ npx shadcn@latest add form
⠧ 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/index.json failed, reason:
It happen with my company network, they are using proxy for the security reason, when i tried with mobile network in my personal laptop, it worked, but not working in all the PC in my company.
Solution: For those who using proxy, write this in CMD, where your project is open
set http_proxy=http://your.proxy:5050
set https_proxy=http://your.proxy:5050
set http.proxyStrictSSL=false
set NODE_TLS_REJECT_UNAUTHORIZED=0
Now you can exec = npx shadn@latest init
I was able to resolve the issue by turning on the VPN and changing the location to the US
I was able to resolve the issue by turning on the VPN and changing the location to the US
This doesn't work for me, is there any other solution?
I had the same problem, but I switched my computer network to a phone hotspot and the installation went fine
Describe the bug
While trying to exec
shadn@latest init
, the index.json is timing out:I'm able to acccess the json via web browser:
Affected component/components
core
How to reproduce
npx shadcn@latest init
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting