-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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]: pnpm dlx tailwindcss init -p doesn't work anymore #6434
Comments
If anyone is here is wondering about a solution. You should downgrade your This will solve your problem @alfinauzikri |
Well I'll try it, thanks for the answer. @Frallan97 |
And use npm, it is wierd, i can not get it to work with pnpm @alfinauzikri it is weird. But bun works.. |
Hey @alfinauzikri, how are you? I literally just solved this problem here. I was using I looked at the documentation of the previous stable version (v3.4.17) and saw that it was only updated. In my case, I modified the command, since the latest version of Tailwindcss was not added to my $ npx [email protected] init -p
In your case, I think it's the same, just use: $ pnpm dlx [email protected] init -p
|
Hi, @Frallan97 I've just tried with fresh installation. node v20.14.0 Change the command:
With :
Full Commands:
Results:
Hopefully this will help you resolve your issue.. |
I just tested it and solved the problem too. @migtibincoski |
Describe the bug
pnpm dlx tailwindcss init -p
doesn't work anymoreit was what we had to do in tailwind v3
https://v3.tailwindcss.com/docs/installation
tailwind v4 doesn't require it anymore
https://tailwindcss.com/docs/installation/using-vite
I believe you guys should update the doc
Affected component/components
All
How to reproduce
in the installation guide (https://ui.shadcn.com/docs/installation/vite#add-tailwind-and-its-configuration), at step 2:
pnpm dlx tailwindcss init -p
Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting
The text was updated successfully, but these errors were encountered: