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

node-sass 3.0.0 beta support #879

Closed
ghost opened this issue Mar 30, 2015 · 12 comments
Closed

node-sass 3.0.0 beta support #879

ghost opened this issue Mar 30, 2015 · 12 comments

Comments

@ghost
Copy link

ghost commented Mar 30, 2015

Looks like bootstrap-sass can't be built with latest beta builds of node-sass (3.0.0-beta.4).

192-168-1-10.tpgi.com.au ❯❯❯ ~/Code/bootstrap-sass
❯ node-sass -v
node-sass   3.0.0-beta.4    (Wrapper)   [JavaScript]
libsass     3.2.0-beta.2    (Sass Compiler) [C/C++]

192-168-1-10.tpgi.com.au ❯❯❯ ~/Code/bootstrap-sass
❯ test/node_sass_compile_test.sh
{
  "message": "You may not @extend an outer selector from within @media.\nYou may only @extend selectors within the same directive.\nFrom \"@extend .input-sm\" on line 48 of assets/stylesheets/bootstrap/_input-groups.scss\n",
  "column": 39,
  "line": 189,
  "file": "/Users/Chris/Code/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss",
  "status": 1
}
node-sass compilation failed

There doesn't seem to be an issue tracking compatibility with the betas so I thought I'd raise an issue.

@glebm
Copy link
Member

glebm commented Mar 31, 2015

This may be a known bug in libsass 3.2.0-beta.2: sass/libsass#943, but looks like it may be already fixed in libsass 3.2.0-beta.4.

@e00dan
Copy link

e00dan commented Mar 31, 2015

+1, same problem.

@akisvolanis
Copy link

+1, same issue.

@rgaidot
Copy link

rgaidot commented Mar 31, 2015

+1, same issue.

@joostfarla
Copy link

I've tested with the latest libsass version, but the problem remains. For now I've created a workaround by adding a custom requirement to my package.json, which points to an older (working) version of node-sass:

...
"node-sass": "sass/node-sass#v3.0.0-pre",
...

@Awem
Copy link

Awem commented Mar 31, 2015

@joostfarla if you experience this issue with latest beta of libsass, you should comment here: sass/libsass#943

@dalvarez
Copy link

I'm getting the same issue I believe

Error: You may not @extend an outer selector from within @media.
You may only @extend selectors within the same directive.
From "@extend .input-sm" on line 48 of bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss

@justtal
Copy link

justtal commented Mar 31, 2015

@dalvarez I got the same error 👍

@xzyfer
Copy link

xzyfer commented Apr 1, 2015

@dalvarez @justtal can you show the output of sassc -v? The fix for this is not in node-sass yet.

@dalvarez
Copy link

dalvarez commented Apr 1, 2015

I'm not using sassc. I have an ember-cli project where I included [email protected] and [email protected]. I found that by downgrading my broccoli-sass to 0.3.3 (this is the version we used before upgrading) it solved our problems with compiling sass. While we wait for a fix, I'm going to see what the latest version of broccoli-sass is that we can use without breaking.

@glebm glebm closed this as completed Apr 1, 2015
@glebm
Copy link
Member

glebm commented Apr 1, 2015

Closed as this is not a bootstrap-sass issue, see my comment above #879 (comment)

@c0achmcguirk
Copy link

Thanks for the heads up @dalvarez. I downgraded brccoli-sass to version 0.5 and that fixed it for me.

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

10 participants