Rails 5 : Asset precompile failed when deploying to Heroku
royalwood opened this issue · comments
remote: Sass::SyntaxError: $alpha: (0 0.9) is not a number for `rgba'
remote: (sass):4982
remote: /tmp/build_9b15d59eabe8f4b2edda98ccc4e53761/app/assets/config/manifest.js:3
remote: (sass):4982
This is error when I get deploying to Heroku.
I have the same problem. I have to do rails assets:precompile
before each deploy. This is making my commit history look totally screwed up but it's the only way I can figure out in the short term to deploy changes to my public assets. But I believe this is an issue with Heroku and not with this gem. Thus it's probably better to ask about this on their issue trackers.
@adiakritos This issue doesn't fixed yet. So I updated CSS to avoid this issue.
not filter: alpha (0, 0.9)
correct: filter: alpha(Opacity=90);
Hope this tip will help you.