Skip to content
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

missing tailwindcss dependency? #6

Closed
mikelehen opened this issue Nov 2, 2022 · 2 comments
Closed

missing tailwindcss dependency? #6

mikelehen opened this issue Nov 2, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@mikelehen
Copy link

After running:

yarn create astro -- --template satnaing/astro-paper
yarn
yarn dev

I got:

error Cannot find package 'tailwindcss' imported from /Users/mikelehen/src/vanny-the-van/node_modules/@astrojs/tailwind/dist/index.js

Running yarn add tailwindcss seems to have fixed the issue.

@satnaing
Copy link
Owner

satnaing commented Nov 2, 2022

Yep.
Prior to @astrojs/tailwind v2.0.0, tailwindcss wasn't required as a peer dependency. Some days ago, I updated @astrojs/tailwind without installing Tailwind as a peer dep. Then I tested with npm and it was working fine.
But as you mentioned, trying out using yarn seems to have a problem.

I'll update it.
Thank you @mikelehen for pointing this out.

@satnaing satnaing added the bug Something isn't working label Nov 2, 2022
@mikelehen
Copy link
Author

Awesome, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants