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

Problem compiling with latest node-sass when using multiple rules #37

Closed
joseluis opened this issue May 20, 2015 · 2 comments
Closed

Problem compiling with latest node-sass when using multiple rules #37

joseluis opened this issue May 20, 2015 · 2 comments
Labels

Comments

@joseluis
Copy link

Compilation doesn't finish and all RAM is consumed in the process, when using multiple rules (that includes using $media-expressions)

minimal example.scss:

@import 'bower_components/include-media/dist/include-media';

@include media( ">20rem", "<40rem" ) { 
    body{
        color: blue;
    }   
}

I've tested it and the problem happens with include-media versions 1.2, 1.1.2 and 1.0.0.

In Ubuntu 14.04, using node.js 10.38 and these versions of node-sass (libsass):

  • node-sass 3.1.1 (libsass 3.2.4)
  • node-sass 3.0.0 (libsass 3.2.2),

But it compiles succesfully with:

  • node-sass 2.1.1 (libsass 3.1.0)

Steps to reproduce:

npm install node-sass@3.1.1
bower install include-media#1.1.2

./node_modules/.bin/node-sass example.scss

(To see the available versions: npm info node-sass)

I'm sending the bugreport here, but upon confirmation I believe it'd be better if you be the one who sends the report to either library, or both.

EDIT I've realized this happens when using multiple arguments, not justs media-expressions

@joseluis joseluis changed the title Problem compiling with latest node-sass when using media-expressions Problem compiling with latest node-sass when using multiple rules May 21, 2015
@KittyGiraudel
Copy link
Collaborator

Seconded.

@eduardoboucas
Copy link
Owner

Fixed in #39. Thanks @hugogiraudel!

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

No branches or pull requests

3 participants