[bug]: bunx --bun shadcn-ui@latest add table
dxl519 opened this issue · 1 comments
Describe the bug
ConnectionClosed: The socket connection was closed unexpectedly. For more information, pass verbose: true
in the second argument to fetch()
path: "https://ui.shadcn.com/registry/index.json"
Failed to fetch components from registry.
Affected component/components
table
How to reproduce
bunx --bun shadcn-ui@latest add table
FetchError: request to https://ui.shadcn.com/registry/index.json failed, reason: read ECONNRESET
at ClientRequest. (file:///private/tmp/bunx-501-shadcn-ui@latest/node_modules/node-fetch/src/index.js:108:11)
at ClientRequest.emit (node:events:514:28)
at TLSSocket.socketErrorListener (node:_http_client:495:9)
at TLSSocket.emit (node:events:514:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: 'system',
errno: 'ECONNRESET',
code: 'ECONNRESET',
erroredSysCall: 'read'
}
Failed to fetch components from registry.
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
macOS Monterey 12.7.4
Before submitting
- I've made research efforts and searched the documentation
- I've searched for existing issues
node -v
v20.10.0
bun -v
1.1.4