rake assets:precompile throws Sass::SyntaxError: Invalid CSS after “*/”

后端 未结 6 1347
小鲜肉
小鲜肉 2021-01-02 04:21

I hope this isn\'t a duplicate problem; I\'ve tried other solutions on SO with no effect

When pushing my app to Heroku, the push has failed because applicat

6条回答
  •  南笙
    南笙 (楼主)
    2021-01-02 04:57

    SOLUTION

    The file that was breaking things was the font awesome CSS. Removing that from application.css's "require" lines allowed the precompilation to work.

    The way to do this was to first delete all of the precompilation require fields, showing that it would compile, and then to slowly add the require fields back to see where it broke.

    (Thanks for all those who helped figure this out.)

提交回复
热议问题