ComPlat/chemotion_ELN

Sassc::SyntaxError on processing ag-grid-community scss

Closed this issue · 2 comments

since 2509ea5 #2021

$RAILS_ENV=production bundle exec rake assets:precompile

......

rake aborted!
SassC::SyntaxError: Error: Undefined operation: "var(--ag-row-group-indent-size) times var(--ag-indentation-level)".
        on line 3728:53 of stdin
>> eft: min(var(--ag-row-group-indent-size), var(--ag-row-group-indent-size) * 
   ------------------------------------------^
stdin:3728

@PiTrem, does this only fail for RAILS_ENV=production and if so, why?

@JanCBrammer
yes as the compilation for css is set there https://github.com/ComPlat/chemotion_ELN/blob/main/config/environments/production.rb#L39C2-L39C38 .
This #2033 is a short term solution as we should moved to another compiler.