“rake assets:precompile” gives punc error

前端 未结 10 705
离开以前
离开以前 2020-12-04 10:56

I\'m trying to precompile my assets for production, but rails doesn\'t seem to be cooperating.

$ bundle exec rake assets:precompile
/home/drderp/.rvm/rubies/         


        
10条回答
  •  失恋的感觉
    2020-12-04 11:24

    In my case, I was using es6 syntax ()=>{...} in js file. Replacing it with function(){...} fixed the problem.

提交回复
热议问题