[bug]: When trying to initialize shadcn-ui
in an Astro project, I encounter an error: ENOENT: no such file or directory
, related to the creation of the folder src/*/lib
.
#6432
Labels
bug
Something isn't working
Describe the bug
Description
When trying to initialize
shadcn-ui
in an Astro project, I encounter an error:ENOENT: no such file or directory
, related to the creation of the foldersrc/*/lib
.I already have a project created based on the AstroTheme called 'Astro-sphere'. I'm not sure if this could be causing the issue when installing shadcn on top of it.
I have tried creating the folders manually, but it still doesn't work. What surprises me is that it mentions a path like src/*/lib, but I don't have this structure in my Astro project. I'm not sure what the * is supposed to refer to
Affected component/components
Installation on Astro
How to reproduce
Steps to reproduce
npm create astro@latest
.npx shadcn@latest init
.--force
).Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting
The text was updated successfully, but these errors were encountered: