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 compiling hint-mixins.scss #170

Closed
sly7-7 opened this issue Nov 15, 2018 · 3 comments
Closed

error compiling hint-mixins.scss #170

sly7-7 opened this issue Nov 15, 2018 · 3 comments

Comments

@sly7-7
Copy link

sly7-7 commented Nov 15, 2018

In a ember app, using ember-cli-sass (with https://sass-lang.com/dart-sass as compiler), I have the following error during compilation:

Sass Syntax Error (SassCompiler) in /Users/sma01/work/git/gitlab/erdil/esatis/frontend/node_modules/html-hint/node_modules/hint.css/src/hint-mixins.scss:18:5

Error: Top-level selectors may not contain the parent selector "&".
                                &.#{$hintPrefix}#{$position}-#{$xDir}:before {
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  node_modules/html-hint/node_modules/hint.css/src/hint-mixins.scss 18:5                                                                                          arrow-border-color()
  node_modules/html-hint/node_modules/hint.css/src/hint-position.scss 81:1                                                                                        @import
  node_modules/html-hint/node_modules/hint.css/src/hint.scss 21:9                                                                                                 @import
  node_modules/html-hint/html-hint.sass 1:9

I just don't know what that mean.

@chinchang
Copy link
Owner

chinchang commented Nov 16, 2018

Seems like dart-sass has some implementation differences to node-sass because it's working fine with node-sass.
Have found the solution though -> sass/sass#1873 (comment)
Fixing this.

@chinchang
Copy link
Owner

chinchang commented Nov 16, 2018

fixed in 2.5.1

@sly7-7
Copy link
Author

sly7-7 commented Nov 23, 2018

Thank you (Sorry for the delay, I'm out of work right now)

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

No branches or pull requests

2 participants