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

Build error on watch #11

Open
asterhelix opened this issue Nov 6, 2024 · 0 comments
Open

Build error on watch #11

asterhelix opened this issue Nov 6, 2024 · 0 comments

Comments

@asterhelix
Copy link

Hi,

When I build my CSS with the following command, everything works well:
npx tailwindcss -i "styles\input.css" -o "\css\app.css" -c "tailwind.config.js" --watch

However, as soon as it runs again (with the watch option), I get this error:
The motion-preset-shakeclass does not exist. Ifmotion-preset-shakeis a custom class, make sure it is defined within a@layer directive.

I’m not 100% sure this issue is related to your library, but I’m using several Tailwind plugins, and this is the only one causing an error.

Thanks and great library, by the way!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant