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

SCSS build error #70

Closed
stevebluck opened this issue Mar 27, 2015 · 5 comments
Closed

SCSS build error #70

stevebluck opened this issue Mar 27, 2015 · 5 comments

Comments

@stevebluck
Copy link

Hi,

I'm getting an error with a specific SCSS file: https://github.com/danielguillan/bem-constructor

'Module build failed:
$e: #{&}#{$bem-element-separator}#{$element};
^
Error reading values after
in /playground/app/styles/settings/_ben-constructor.scss (line 475, column 13)
@ ./app/styles/main.scss 4:14-225'

Seems to work fine with other scss compilers.

What am I doing wrong?

@jostw
Copy link

jostw commented Mar 30, 2015

Having the same problem too.

It works fine for me when the node-sass version was 3.0.0-pre,
but it failed recently as the node-sass version become 3.0.0-beta.4

@stevebluck simple workaround is replacing node-sass 3.0.0-beta.4 with version 3.0.0-alpha.0 manually, it works for me now.

Hope to fix this issue, thx.

@jhnns
Copy link
Member

jhnns commented Mar 30, 2015

node-sass 3.0.0 is causing some trouble 😢

#71

@jhnns
Copy link
Member

jhnns commented Apr 3, 2015

I've managed to write a version of sass-loader that provides the same features while depending on node-sass 2.1.1. It's on a separate branch and can be installed via npm i sass-loader@0.6.x. Please note, that sass-loader 0.6.0 is listing node-sass as peerDependency as well.

@stevebluck
Copy link
Author

Sorry but I seem to be getting the exact same problem after installing sass-loader@0.6.x.

Am I supposed to do anything else to get this working?

@jhnns
Copy link
Member

jhnns commented Apr 5, 2015

I suppose, this is a problem with node-sass/libsass itself, because sass-loader is just passing the input on.

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

Successfully merging a pull request may close this issue.

3 participants