armin-pfaeffle / sass-autocompile

Automatically compiles SASS files on save ‒ package for atom.io
https://atom.io/packages/sass-autocompile
MIT License
49 stars 16 forks source link

Compilation issue: Error @import #154

Closed ann0812 closed 6 years ago

ann0812 commented 6 years ago

Hello,

I'm a programming-beginner, however, have a question regarding an error-warning in my atom-texteditor when trying to compile my .scss into an .css with sass-autocompiler,

It appears when using the @import at the start of the .scss document; it says: media-query expression must begin with '('. However, when I add an '(' it's still not working but giving out an error-warning saying "invalid CSS".

Could somebody please help me with that issue? The solution is probably quite obvious for sb. experienced, but I just can't figure it out.

Thanks in advance, Ann screenshot 2018-07-19 14 41 21

armin-pfaeffle commented 6 years ago

Remove the brackets before and after @import.