You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error has existed since 3.0 which was released in May 2010.
It's nonsensical to refer to a parent selector at the base-level of a stylesheet. Inferring that & should be the universal selector at the root level is not at all a safe assumption. Additionally, this is often indicative of a coding mistake. So we consider it an error.
If this was part of a mixin that is sometimes included at the base level and sometimes nested, you can write the mixin like this:
thongly, moo2u2, whiskpo0, colinsanford, oknechirik and 11 moreebgranger and DenisLopatinwhooehoo, jimcamut, chinchang, besi, andcl and 3 moretzi, ivorscott, dms1lva, kybishop, alanhogan and 18 more
I've got that error when moved from "node-sass": "4.7.2" to "node-sass": "4.9.0", so if you need your working project urgently you can set up your previous version in devDependencies in package.json and continue to work.
dexbol, toklok, jakebathman, subhendukundu and moturoa
Activity
chriseppstein commentedon Oct 29, 2015
This error has existed since 3.0 which was released in May 2010.
It's nonsensical to refer to a parent selector at the base-level of a stylesheet. Inferring that
&
should be the universal selector at the root level is not at all a safe assumption. Additionally, this is often indicative of a coding mistake. So we consider it an error.If this was part of a mixin that is sometimes included at the base level and sometimes nested, you can write the mixin like this:
FWSimon commentedon Oct 30, 2015
Ah thanks, just funny it first error out after i updated :)
Refactor flex grid class output to be more streamlined, and add mixin…
&
. mdbootstrap/mdb-ui-kit#949KEMBL commentedon May 16, 2018
I've got that error when moved from "node-sass": "4.7.2" to "node-sass": "4.9.0", so if you need your working project urgently you can set up your previous version in devDependencies in package.json and continue to work.
Update selector to be compatible with sassc 2.3.0