Open Anuradhaaa022 opened 1 month ago
PS C:\Users\mr63\OneDrive my-app> npx shadcn@latest init ✔ Preflight checks. ✔ Verifying framework. Found Next.js. ✔ Validating Tailwind CSS. ✔ Validating import alias.
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/index.json failed, reason: unable to get local issuer certificate
all
npx shadcn@latest init
No response
windows
I am also facing the same issue
After running below it started working
For CLI set NODE_TLS_REJECT_UNAUTHORIZED=0
For PS $env:NODE_TLS_REJECT_UNAUTHORIZED=0
Describe the bug
PS C:\Users\mr63\OneDrive my-app> npx shadcn@latest init ✔ Preflight checks. ✔ Verifying framework. Found Next.js. ✔ Validating Tailwind CSS. ✔ Validating import alias.
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/index.json failed, reason: unable to get local issuer certificate
Affected component/components
all
How to reproduce
npx shadcn@latest init
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting