BrowserslistError: Unknown browser major

后端 未结 9 1678
南旧
南旧 2020-12-15 07:30

I\'m trying to use bootstrap 4 with my angular installation. i\'ve run npm install --save bootstrap@next but i have a break at runtime :

./node_modules/css-l         


        
9条回答
  •  星月不相逢
    2020-12-15 07:56

    It works now without workaround with Angular CLI: 1.6.5. Angular CLI has been depending on an incompatible version of autoprefixer (https://github.com/angular/angular-cli/issues/9020)

    Verify version by typing ng --version. Do not foget to update your dev dependency in package.json:

    "@angular/cli": "1.6.5",
    

提交回复
热议问题