Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: media query expression must begin with '(' #2638

Open
Taritsyn opened this issue Apr 24, 2018 · 4 comments
Open

Error: media query expression must begin with '(' #2638

Taritsyn opened this issue Apr 24, 2018 · 4 comments

Comments

@Taritsyn
Copy link
Contributor

Problem appeared after upgrading to version 3.5.3.

input.sass

@import "folder/FolderIcon.css" screen, projection

Actual results

The following error occurs:

Error: media query expression must begin with '('
        on line 1 of ../../../../SharedFiles/import/sass/input.sass
>> @import "folder/FolderIcon.css" screen, "projection";

   ---------------------------------------^

This error is typical only for indented syntax.

Expected result

@import "folder/FolderIcon.css" screen, projection;

P.S.: I use the sass_option_push_import_extension to add an .css extension.

@xzyfer
Copy link
Contributor

xzyfer commented Apr 25, 2018

This appears to be related to #2637

xzyfer added a commit that referenced this issue Apr 25, 2018
This reverts commit ca89d73.

This bump caused some regressions that are preventing implementors
from upgrading.

See #2637 #2638
@xzyfer
Copy link
Contributor

xzyfer commented Apr 25, 2018

As a work around I've released 3.5.4 which the sass2scss bump reverted since we need to get the node-sass release out.

@Taritsyn
Copy link
Contributor Author

This error is again relevant in version 3.6.0.

@Taritsyn
Copy link
Contributor Author

I created the PR with fixes for this error in the sass2scss repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants