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

You may not @extend an outer selector from within @media error #823

Closed
blimmer opened this issue Mar 30, 2015 · 6 comments
Closed

You may not @extend an outer selector from within @media error #823

blimmer opened this issue Mar 30, 2015 · 6 comments

Comments

@blimmer
Copy link

blimmer commented Mar 30, 2015

I'm getting this error with 3.0.0-beta.4 when I have something as simple as this:

h1 {
  @extend h2;
}

It looks like others are having this problem as well.

@am11
Copy link
Contributor

am11 commented Mar 30, 2015

This belongs to libsass: https://github.com/sass/libsass. All syntax related issue belong to libsass.

@am11
Copy link
Contributor

am11 commented Mar 30, 2015

See http://sassmeister.com/gist/69d7ec29d7c737365399.

Ruby Sass throws different error. LibSass 3.1.0 does not throw any error. This itself is a bug.

You can prepare a similar gist with steps to reproduce for any such discrepancy you find.

To change the engine in Sass Meister, click to the navigation icon at top right corner.

@blimmer
Copy link
Author

blimmer commented Mar 30, 2015

Hmm perhaps I jumped the gun on this issue. I'll try to figure out more about what exactly is going on and open an issue with the appropriate project (if one exists).

@blimmer blimmer closed this as completed Mar 30, 2015
@Awem
Copy link

Awem commented Mar 31, 2015

This is issue sass/libsass#943 and might already be fixed. Now it would be a node-sass issue, because it needs to be updated to libsass 3.2.0-beta.4
Please reopen this.

@simonexmachina
Copy link
Contributor

npm will happily update node-sass to the latest beta because of semver. You might need to rm -rf node_modules/ember-cli-sass to get it to upgrade to the latest version.

However the latest node-sass@3.0.0-beta.4 appears to use libsass@3.2.0-beta.2, so you may want to create an issue on node-sass to update the libsass dependency, because this doesn't use npm (I think they use a Git submodule) so it won't automatically upgrade.

@Awem
Copy link

Awem commented Apr 1, 2015

@aexmachina allright. thanks for clarification. I just thought about using this issue for asking about this update.
edit: new issue already opened (#827)

Friendly-users referenced this issue in Friendly-users/node-sass Jul 9, 2024
-----
It is inappropriate to include political and offensive content in public code repositories.

Public code repositories should be neutral spaces for collaboration and community, free from personal or political views that could alienate or discriminate against others. Political content, especially that which targets or disparages minority groups, can be harmful and divisive. It can make people feel unwelcome and unsafe, and it can create a hostile work environment.

Please refrain from adding such content to public code repositories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants