[bug]: Unable to install all components
Describe the bug
pnpm dlx shadcn@latest add dialog
✔ Checking registry. ⠋ Updating src/app/globals.css Something went wrong. Please check the error below for more details. If the problem persists, please open an issue on GitHub.
ENOENT: no such file or directory, open 'xxxxxx/src/app/globals.css'
Affected component/components
all
How to reproduce
pnpm dlx shadcn@latest add dialog
Codesandbox/StackBlitz link
No response
Logs
System Info
MacPro M2 chrome
Before submitting
- [x] I've made research efforts and searched the documentation
- [x] I've searched for existing issues
it is updating ⠋ Updating ..........\src\app\gloabal.css
it should be globals.css
typo
Same issue
same issue (sidebar)
Same issue
Well it's working perfectly fine in Ubuntu/Mac runs
- https://github.com/nrjdalal/awesome-templates/actions/runs/13870987763/job/38817568498
Script (first link in README.md)
- https://github.com/nrjdalal/awesome-templates/tree/main/next.js-apps/next.js-shadcn#awesome-template
Result
- https://github.com/nrjdalal/awesome-templates/tree/main/next.js-apps/next.js-shadcn
solved
upgrade package
i got the same error logs , fixed by replacing
{
.............
"tailwind": {
.............
**"css": "src/app/globals.css",**
.............
},
.............
}
in components.json to
{
.............
"tailwind": {
.............
"css": "styles/globals.css",
.............
},
.............
}