Hacker News new | ask | show | jobs
by giovannibonetti 4131 days ago
I've run gulp and then got this error, related to CSS/SASS:

Message: error /Users/gkbonetti/code/flux-getting-started/public/src/scss/partials/_messageBox.scss (Line 3: Invalid CSS after " &": expected "{", was "__list {"

"__list" may only be used at the beginning of a compound selector.)

4 comments

Guessing you're on ruby 1.9.3 or something. Update to ruby 2.x first (brightbox ppa is good for this on Ubuntu types), then gem install sass.
I had the same error, updating my sass (3.4.12), and running ruby 2.2 did nothing to resolve this issue.
You need to update your SASS version to the latest; you're hitting a BEM syntax error.
Update your sass! :)