tailwindcss example crashes when upgrading to tailwind 3.x
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, tailwindcss
Research direction
Start with the Tailwind CSS example linked in the issue and reproduce the failure using tailwindcss 3.2.4, checking app/client/main.css and the listed dependency versions. Compare the working Tailwind 2 setup with the 3.x setup; done means the example starts without the PostCSS undefined-CSS error.
Written by the indexing model from the issue text.
Description
Hello and thankyou for the example: https://github.com/meteor/examples/tree/main/tailwindcss
It works perfectly well, however when I run the instructions to repeat this, I get
"tailwindcss": "^3.2.4"
Which throws the following error:
Errors prevented startup:
While minifying app stylesheet:
app/client/main.css: PostCSS received undefined instead of CSS string
Your application has errors. Waiting for file change.
However, if i use:
"dependencies": {
"@babel/runtime": "^7.17.9",
"autoprefixer": "^10.4.13",
"jquery": "^3.6.0",
"meteor-node-stubs": "^1.2.1",
"postcss": "^8.4.18",
"postcss-load-config": "^3.0.1",
"tailwindcss": "^2.0.3"
},
Then everything is is ok.
Are you able to share what combination of packages and versions will work with tailwindcss 3.x?
Thanks
- Dominant language
- JavaScript
- Stars
- 144
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from meteor/examples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·