Pab*_*oso 4 bootstrap-4 angular-cli angular-universal angular
postcss插件出错
这是一个日志,当我尝试构建--prod,我'使用角度通用只给我带有bootstrap和font-awesome的错误.
10% building modules 4/6 modules 2 active ...ules/bootstrap/dist/css/bootstrap.cssUnknown error from PostCSS plugin. Your current PostCSS version is 6.0.17, but postcss-merge-rules uses 5.2.18. Perhaps this i 55% building modules 380/383 modules 3 active ...ules/bootstrap/dist/css/bootstrap.cssUnknown error from PostCSS plugin. Your current PostCSS version is 6.0.17, but postcss-merge-rules uses 5.2.18. Perhaps this is the source of the error below.
Run Code Online (Sandbox Code Playgroud)
我有同样的问题,你应该将你的角度cli版本更新到最新的测试版,运行此命令:
首先在全球安装它:
npm install -g @angular/cli@1.7.0-beta.1
Run Code Online (Sandbox Code Playgroud)
//那么你应该更新你当前的项目:
npm install --save-dev @angular/cli@1.7.0-beta.1
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1379 次 |
| 最近记录: |