React: autoprefixer: Replace color-adjust to print-color-adjust. #36286
Unanswered
mARTinKOPULETY
asked this question in
Q&A
Replies: 3 comments 3 replies
-
the above solutions does not work. keep getting the warning. (6:29521) autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I try to make my first React app by some youtube tutorial. I have troubles with bootstrap. I install it, import it in the same way like tutorial do, but there is the error autoprefixer: Replace color-adjust to print-color-adjust.. I found here a nice solution by @vineetdigit , but Im pure beginner and I dont understand what author means with: "\rm -rf node_modules" and "restart the react app with "react-scripts start" " Thank you for your advice and your leniency.
This most certainly didn't work for me.
npm install [email protected] --save-exact
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 dependencies: {..}
"overrides":{ "autoprefixer": "10.4.5" }
delete package-lock.json
\rm -rf node_modules
npm install
restart the react app with "react-scripts start"
The warning is no more.
Beta Was this translation helpful? Give feedback.
All reactions