Answer the question
In order to leave comments, you need to log in
Why is there an error when compiling SCSS?
When compiling, Galp throws an error:
events.js:160
throw er; // Unhandled 'error' event
^
Error: source/scss/base/_mixins.scss
Error: Invalid CSS after "...180px !default;": expected 1 selector or at-rule, was "=from($device)"
on line 5 of source/scss/base/_mixins.scss
>> $widescreen: 1180px !default;
-----------------------------^
at options.error (/home/jd/flexboxgrid/node_modules/node-sass/lib/index.js:283:26)
// Responsiveness
$tablet: 769px !default
$desktop: 980px !default
$widescreen: 1180px !default
=from($device)
@media screen and (min-width: $device)
@content
=until($device)
@media screen and (max-width: $device - 1px)
@content
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question