Ask A Question

Notifications

You’re not receiving notifications from this thread.

Unable to deploy TailwindCSS on a Rails 7 app to Heroku. Can someone please help me?

Medves Larisa Viviana asked in General

I'm currently trying to deploy my rails 6 application to Heroku.
I'm not sure where the error is coming from since the styles work well on development but break when pushing to production.

  rake aborted!

remote: SassC::SyntaxError: Error: File to import not found or unreadable: tailwindcss/base.
remote: on line 126:1 of stdin
remote: >> @import "tailwindcss/base";

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,584+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.