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
stylelint-config-recommended-scss "doesn't provide postcss, requested by postcss-scss" #89
Comments
I'm seeing this as well, the peer is missing in both places. I need this in my packageExtensions:
stylelint-config-recommended-scss@*:
peerDependencies:
postcss: '8'
stylelint-config-standard-scss@*:
peerDependencies:
postcss: '8' |
I'm seeing this as well, and even worse it cause stylelint to crash:
If I add Interestingly, if I use npm@7 I have no warning, and postcss is correctly installed in the node_modules folder. So it seems related to how yarn resolves dependencies. |
is Fix postcss-scss module resolution when other postcss versions are present relevant here? |
I don't use yarn so I'm not sure, but if I'm understanding the error message correctly it could be that Also, that assumes |
hehe, well ... even as a "yarn user", let's say I'm unclear as to what's the tail vs the dog !
"8.3.3" shows up in now, as to where a fix belongs ... ? |
Unless there's a way to have peers of a dependency installed at the dependency's location (besides the "peerDependencies" param), I'd assume stylelint itself needs a fix. Since
Yeah I'm not amazing at explaining things (I also wrote that 10 minutes after I woke up), this might explain the issue better. |
|
If I'm correct, this would mean people would need to include postcss 8 at the root of their projects (since it's a peer), which would essentially break the fix from #87 because we're |
asked for a pointer re: this issue from dev @ discord:yarn. comment came back, pointing again to @kherock 's post, above: "Seems like #89 (comment) details what the issue and fix is" ... "which shows some packageExtensions that are supposed to fix it" seems like that's the recommendation. |
Yeah, I saw that comment. I was just wondering if there was another solution 😅, probably should've mentioned that. |
I got the same error. The problem is caused because Of course, the fix is to add Alternatively, upgrading to webpack 5 would allow me to upgrade my version of css-loader, which now provides |
postcss-scss now in overrides? |
Have to add postcss as a |
After running `yarn install`, the output includes these warnings: ``` ➤ YN0002: │ stylelint-config-gds@npm:0.2.0 [cbec9] doesn't provide postcss (p4d8da), requested by stylelint-config-standard-scss ➤ YN0002: │ stylelint-config-recommended-scss@npm:5.0.2 [9cbe8] doesn't provide postcss (pefaf8), requested by postcss-scss ``` This fixes the above warnings as recommended in this github issues thread - stylelint-scss/stylelint-config-recommended-scss#89 (comment)
After running `yarn install`, the output includes these warnings: ``` ➤ YN0002: │ stylelint-config-gds@npm:0.2.0 [cbec9] doesn't provide postcss (p4d8da), requested by stylelint-config-standard-scss ➤ YN0002: │ stylelint-config-recommended-scss@npm:5.0.2 [9cbe8] doesn't provide postcss (pefaf8), requested by postcss-scss ``` This fixes the above warnings as recommended in this github issues thread - stylelint-scss/stylelint-config-recommended-scss#89 (comment)
After running `yarn install`, the output includes these warnings: ``` ➤ YN0002: │ stylelint-config-gds@npm:0.2.0 [cbec9] doesn't provide postcss (p4d8da), requested by stylelint-config-standard-scss ➤ YN0002: │ stylelint-config-recommended-scss@npm:5.0.2 [9cbe8] doesn't provide postcss (pefaf8), requested by postcss-scss ``` This fixes the above warnings as recommended in this github issues thread - stylelint-scss/stylelint-config-recommended-scss#89 (comment)
After running `yarn install`, the output includes these warnings: ``` ➤ YN0002: │ stylelint-config-gds@npm:0.2.0 [cbec9] doesn't provide postcss (p4d8da), requested by stylelint-config-standard-scss ➤ YN0002: │ stylelint-config-recommended-scss@npm:5.0.2 [9cbe8] doesn't provide postcss (pefaf8), requested by postcss-scss ``` This fixes the above warnings as recommended in this github issues thread - stylelint-scss/stylelint-config-recommended-scss#89 (comment)
After running `yarn install`, the output includes these warnings: ``` ➤ YN0002: │ stylelint-config-recommended-scss@npm:5.0.2 [f9349] doesn't provide postcss (paa625), requested by postcss-scss ➤ YN0002: │ stylelint-config-standard-scss@npm:3.0.0 [21994] doesn't provide postcss (pd7477), requested by stylelint-config-recommended-scss ➤ YN0002: │ stylelint-config-gds@npm:0.2.0 [93ec2] doesn't provide postcss (p8e745), requested by stylelint-config-standard-scss ``` This fixes the above warnings as recommended in this thread - [stylelint-scss/stylelint-config-recommended-scss#89](stylelint-scss/stylelint-config-recommended-scss#89) (comment)
with
and yarn exec reports,
where
is this a fix needed in s-c-r-s? postcss*? or local config?
The text was updated successfully, but these errors were encountered: