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

Errors compiling bootstrap-sass-official #37

Closed
zyllorion opened this issue Mar 31, 2015 · 8 comments
Closed

Errors compiling bootstrap-sass-official #37

zyllorion opened this issue Mar 31, 2015 · 8 comments

Comments

@zyllorion
Copy link

ember-cli 2.2.2
ember 1.12 b1

Build failed.
File: bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_forms.scss (189)
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-official/assets/stylesheets/bootstrap/_input-groups.scss

Works if I switch to "broccoli-sass": "git://github.com/ef4/broccoli-sass" but this doesnt have a sourceMap option.

@akisvolanis
Copy link

i have the same issue with bootstrap-sass. I also confirm that it works if i switch to "broccoli-sass": "git://github.com/ef4/broccoli-sass".

@jpaas
Copy link

jpaas commented Mar 31, 2015

I had this error also. But somehow it has now morphed into a node "Bus error: 10" every time I try to run ember.

@jpaas
Copy link

jpaas commented Mar 31, 2015

I tried going back to 3.0, but it seems to have errors in some script.
3.1.0 works for me.

@Awem
Copy link

Awem commented Mar 31, 2015

This is caused by sass/libsass#943. Now node-sass has to be updated: sass/node-sass#823
After that ember-cli-sass needs to include the updated node-sass.

@seriousben
Copy link

@aexmachina Could we have broccoli-sass-source-maps as a peerDependencies? That would allow us to control the version of node-sass? What are your thoughts?

This is showing that we really need control over the node-sass version.

Suggestions:
1- peerDependencies on broccoli-sass-source-maps
2- locking node-sass in broccoli-sass-source-maps the same way broccoli-sass does it

@simonexmachina
Copy link
Collaborator

See my comment on issue #823.

This module is really a very slight fork of broccoli-sass, so I don't want to diverge from its semantics unless absolutely necessary.

@searls
Copy link

searls commented Apr 9, 2015

FYI that I'm seeing this not just in bootstrap, but in a completely custom Sass library.

I'm a new user of the addon and I'm getting "Bus Error 10" as well (note to other readers, the toggling of sourceMaps doesn't affect this, @zyllorion was simply saying his workaround precludes sourcemaps). I'm a bit confused between the interplay between broccoli-sass-source-maps dependency on node-sass and the apparent peer dependency of this plugin on the sass module (which I can't find documentation for).

Is there a version of this plugin that'll work for new installs? Or do I need to fork and fix the transitive node-sass dependency to what I need from npm?

@searls
Copy link

searls commented Apr 13, 2015

Belay my issue above, once I moved to 3.3.1 the problem is indeed fixed

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

7 participants