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]: Issue when using cloudflare zero trust (with extended tls decryption) #3730

Open
2 tasks done
himanshu-ntml opened this issue May 13, 2024 · 1 comment
Open
2 tasks done
Labels
bug Something isn't working

Comments

@himanshu-ntml
Copy link

Describe the bug

I am getting below error when try to setup shadcn

npx shadcn-ui@latest init
FetchError: request to https://ui.shadcn.com/registry/styles/index.json failed, reason: unable to get local issuer certificate
    at ClientRequest.<anonymous> (file:///C:/Users/PalakRukhaya/AppData/Local/npm-cache/_npx/125ee17d583c4e03/node_modules/node-fetch/src/index.js:108:11)
    at ClientRequest.emit (node:events:519:28)
    at TLSSocket.socketErrorListener (node:_http_client:500:9)
    at TLSSocket.emit (node:events:519:28)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',
  code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',
  erroredSysCall: undefined
}
Failed to fetch styles from registry.

Affected component/components

All

How to reproduce

Try to enabled Cloudflare zero trust with "CA to system certificate store installed"

Codesandbox/StackBlitz link

No response

Logs

Let me know how can i give you logs.

System Info

Mac OS 14.4.1

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@himanshu-ntml himanshu-ntml added the bug Something isn't working label May 13, 2024
@JCassio1
Copy link

I have the same issue. I am using my corporate device to install and I believe that I am having issues due to Zscaler. Any help would be appreciated. I am trying to find an alternative to installing manually.

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