问题描述
我更新了软件包,并在启动npm后收到以下2条警告:
I updated the packages and after starting npm i got 2 warning which are follows:
(5013:3)最终值具有混合支持,请考虑改用flex-end
(5013:3) end value has mixed support, consider using flex-end instead
./src/assets/scss/style.scss中的警告(./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src嵌入!./node_modules/sass-loader/lib/loader.js ref--13-3!./src/assets/scss/style.scss)模块警告(来自./node_modules/postcss-loader/src/index.js):警告
WARNING in ./src/assets/scss/style.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--13-3!./src/assets/scss/style.scss) Module Warning (from ./node_modules/postcss-loader/src/index.js): Warning
(5019:3)最终值具有混合支持,请考虑改用flex-end
(5019:3) end value has mixed support, consider using flex-end instead
推荐答案
此警告是说您应该使用 flex-start
而不是 start.
与相同> flex-end
.这只是一个警告,不会影响您的项目.
This warning is saying that you should use flex-start
instead of start.
Same for flex-end
.And this is just a warning, it won't affect your project.
这篇关于将Angle 7更新到Angle 8版本后收到警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!