-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
autoprefixer: Replace color-adjust to print-color-adjust. #36259
Comments
same issue. and with fix: |
Same issue here. Builds failing because of this. edit: fixed it by forcing the version of the peer dependency in my "resolutions": {
"autoprefixer": "10.4.5"
} edit 2: |
I ran into the same issue for Bootstrap 4.6.1 |
I'm experiencing the same issue:Using laravel-mix v6.0.43 which depends on autoprefixer v10.4.7. Bootstrap will compile, but produces a warning:1 WARNING in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details) Once I update webpack.mix.js with the following, I'll get a bit more details:mix.webpackConfig({ stats: { children: true } }); WARNING in ./resources/sass/app.scss (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[5].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[5].use[3]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[5].use[4]!./resources/sass/app.scss) (2603:3) autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated. |
I encountered the same issue when I created a project with create react app. |
The fixes proposed by @dkrnl and @NicoAdrian didn't help me Fixed it by forcing the version of the peer dependency in my package.json, note: I use node 16.15.0
|
"autoprefixer": "10.4.5" seem ignore the warning. it is a temporary fix for me. |
All the above solution did not work for me :(. |
Deleting and reinstalling fixed the issue for me. Currently on |
Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated. Below solution didnt't work |
You gotta use 10.4.5.
|
This worked |
This most certainly didn't work for me.
But following helped remove the warning. In the package.json of the top level directory of the react app, add the following section after the
The warning is no more. For more information about "dependencies", see following https://www.stefanjudis.com/today-i-learned/how-to-override-your-dependencys-dependencies/ |
This is always fun when React updates. |
I'd suggest to move these things to a discussion since they do not really add value to the issue here. The issue is well-described and there's even a PR to fix it. |
I am receiving this error after forcing "autoprefixer" to 10.4.5 . |
Fixed in v5 by #36258. v5.2.0 should drop next week. |
Have this issue using tail wind , I have Tried the above methods but non seem to work, getting stuck is always annoying |
after setting the stats to true in webpack.mix.js, It was resolved by running the 'npm install [email protected] --save-exact" command and updating my tailwind form to '0.5.0'.... thanks |
As @achur00 mentions tailwindcss users can upgrade tailwindcss form plugin to |
npm install [email protected] that worked for me |
After so much trouble this is working for me |
My solution for npm: I addet overrides in package.json like this:
delete node_modules and package-lock.json
|
This worked for me too Thanks |
Finally something that works! |
Resolving autoprefixer to 10.4.5 is needed to fix another warning which got fixed in bootstrap 5.2.0-beta1, but they seem to still have some problems. Why 5.2.0 is needed: twbs/bootstrap#36259 Why 5.2.0 doesn't work: postcss-calc swears on calc($sass-variable * 2) could not reproduce in other projects may be related: twbs/bootstrap#36446
Resolving autoprefixer to 10.4.5 is needed to fix another warning which got fixed in bootstrap 5.2.0-beta1, but this produces new warnings, so falling back. Why 5.2.0 is needed: twbs/bootstrap#36259 Why 5.2.0 doesn't work: postcss-calc swears on ($table-border-width * 2) in bootstrap codebase could not reproduce in a minimal project to file an issue may be related: twbs/bootstrap#36446
this works |
all the practice mentioned above not work for me |
This worked for me thanks |
- this Bootstrap version fixes build warning arises from deprecated dependencies twbs/bootstrap#36259
me too |
This works for me!! |
This worked for me. I added the following after dependencies
then run the following command: |
This steps worked for me 1- Add the following lines to the
2- Then run the command |
Prerequisites
Describe the issue
autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.
_form_check.scss, line 28
color-adjust: exact; // Keep themed appearance for print
has to be
print-color-adjust: exact; // Keep themed appearance for print
in the future i think. it is depreceated.
Reduced test cases
no test link
What operating system(s) are you seeing the problem on?
Windows, macOS, iOS, Linux
What browser(s) are you seeing the problem on?
Chrome, Firefox
What version of Bootstrap are you using?
v5.1.3
The text was updated successfully, but these errors were encountered: