Closed xvpe closed 4 years ago
Could you post what Sass-related and minifier-related gems and versions you have installed? I'm guessing it's a minifier getting hung up on the syntax.
Thank you for the quick response! @spohlenz
As far as I can tell it's this:
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails'
I'm not sure if it matter but I get similar issue when trying to use a converter with that chunk of code:
It looks like the JSONformatter converter you are using doesn't support CSS variables.
Could you please post the full output of bundle list
and I'll try to match my environment to yours.
Thank you! Please see below:
Gems included by the bundle:
It looks like your version of sass (3.5.1) is causing the issue. I was able to reproduce the same error when pinning to that version.
Assuming you don't have it pinned in your Gemfile, and no other gems are causing a version conflict, then running bundle update sass
should update it to 3.7.4.
If it still doesn't work after updating the sass gem, then also try rake tmp:cache:clear
and restarting the Rails server.
Thank you @spohlenz ! Updating sass helps.
Getting CSS syntax error for a clean install. I am able to make it go away by removing double hyphens within _trestle/frontend/theme/trestle/theme/bootstrap/_color-vars.scss_
Does anybody know any workaround?