I tried by installing this then also I am getting the problem
npm install autoprefixer@10.4.5 --save-exact
WARNING in ./node_modules/bootstrap/dist/css/bootstrap.min.css (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./node_modules/bootstrap/dist/css/bootstrap.min.css) Module Warning (from ./node_modules/postcss-loader/dist/cjs.js): Warning
autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.
webpack compiled with 1 warning
Add following line in package.json:
If you're using yarn:
"resolutions": {
"autoprefixer": "10.4.5"
}
If you're using npm:
"overrides": {
"autoprefixer": "10.4.5"
}
Run the following command line:
npm install bootstrap@5.2.0-beta1
source: https://github.com/twbs/bootstrap/issues/36259#issuecomment-1143073964
Install autoprefixer version 10.4.5 using the command
npm install autoprefixer@10.4.5 --save-exact