UltimateZero / gridsome-plugin-tailwindcss2

Add the latest Tailwind CSS to a Gridsome project.
MIT License
3 stars 1 forks source link

Errors with tailwindcss 2.2.4 #1

Closed aleadag closed 2 years ago

aleadag commented 3 years ago

When I installed tailwindcss@latest (2.2.4). It says:

Error: Cannot find module 'tailwindcss/lib/cli/compile'

If I reverted tailwindcss to 2.1.x, it works.

AtHisBest commented 3 years ago

Have the same issue, any chance to fix it?

Any workaround for now?

mklueh commented 3 years ago

I also have the same problem, even with 2.1.4.

Where does this module 'tailwindcss/lib/cli/compile' come from?

Would really appreciate this plugin, as setting up tailwind with gridsome is really a mess, hard to grasp why things aren't working

UltimateZero commented 3 years ago

Sorry for the late response!

It seems that the structure of the files in the latest tailwind has changed and it no longer includes the compiler file. I can dig in the new structure and see if there's an alternative, but I would really recommend using the other gridsome tailwind plugin.

If, for some reason, the other plugin is not working out for you and you need this one, let me know. :)

AtHisBest commented 3 years ago

Hey @UltimateZero Thanks for your reply

I remember when using the other plugin getting into errors, your plugin worked great, was a major help.

BSBjorn commented 3 years ago

Yeah, I have the same issue.

bartomiak commented 2 years ago

same issue here :(

ffxsam commented 2 years ago

BTW, the other plugin is marked as archived in GitHub. I'm not sure it's a great idea for anyone to use it.

UltimateZero commented 2 years ago

Hi everyone!

Sorry again for the unavailability. I will try my best to find time to maintain this repo since the other one is archived. (PRs are always welcome!).

UltimateZero commented 2 years ago

Issue fixed in 3.0.1

AtHisBest commented 2 years ago

Thanks, @UltimateZero for fixing it

By the way any chance to get an upgrade to v3?

UltimateZero commented 2 years ago

@AtHisBest Yes. It supports v3 now actually! :)

AtHisBest commented 2 years ago

That's awesome, you might want to update the read me it still says currently v2)

And the title from gridsome-plugin-tailwindcss2 to gridsome-plugin-tailwindcss3

Thanks so so much