postcss / postcss-nested

PostCSS plugin to unwrap nested rules like how Sass does it.
MIT License
1.15k stars 66 forks source link

PostCSS plugin postcss-nested requires PostCSS 8 #100

Closed AliceMakk closed 3 years ago

AliceMakk commented 3 years ago

Hello there, I did set up postcss 8v but still getting that error when running my app: Error: PostCSS plugin postcss-nested requires PostCSS 8.

my package.json

...
    "postcss": "^8.1.1",
    "postcss-nested": "^5.0.1",
...

Would be happy if somebody could guide me how to fix that problem please.

ai commented 3 years ago

In what type of project do you use PostCSS? How do you run PostCSS?

Gatsby, Create React App, Webpack, Gulp?

AliceMakk commented 3 years ago

Oh, thanks for your quick reply. I use Ember framework and the error happens when I run my instance with 'ember s'.

ai commented 3 years ago

Seems like Ember still using PostCSS 7. Adding PostCSS 8 to your project’s dependencies will not update PostCSS inside your builder.

Can you look at Ember GitHub repository. Maybe they already have PostCSS 8 issue where they working on the problem?

AliceMakk commented 3 years ago

Ah, I see. Well ok, will have a look there than. :) Thanks