You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ pnpm dlx shadcn@latest add sidebar
✔ Checking registry.
⠋ Updating tailwind.config.ts
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 '/Users/abadescu/p/sealnext/frontend/tailwind.config.ts'
System Info
Doesn't matter, personally using macOS.
Before submitting
I've made research efforts and searched the documentation
I've searched for existing issues
The text was updated successfully, but these errors were encountered:
Describe the bug
In tailwind v4, tailwind.config.ts got removed.
Sidebar components was modifying the tailwind.config.ts, but now because it doesn't exist anymore in v4, it returns ENOENT.
"ENOENT: no such file or directory, open 'tailwind.config.ts'"
Affected component/components
Sidebar
How to reproduce
In a shadcn project, upgrade to tailwind v4 using
pnpm dlx @tailwindcss/upgrade@next
(https://tailwindcss.com/docs/upgrade-guide).Import sidebar component:
pnpm dlx shadcn@latest add sidebar
.Receive ENOENT error.
Codesandbox/StackBlitz link
Not needed, simple enough to reproduce.
Logs
System Info
Doesn't matter, personally using macOS.
Before submitting
The text was updated successfully, but these errors were encountered: