-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Milestone
Description
🐞 Bug report
Command (mark with an x
)
ng build
- new
- [x ] build
- [ x] serve
- test
- e2e
- generate
- add
- update
- lint
- xi18n
- run
- config
- help
- version
- doc
Is this a regression?
Yes, the previous version in which this bug was not present was: ....Description
A clear and concise description of the problem...When I run build universal, I am getting this error
"ERROR: Error: Browserslist: caniuse-lite is outdated. Please run next command npm update
"
Here is the analysis I did, I think the issue is really coming with dependency @babel/preset-env": "7.7.6" which use "browserslist": "^4.6.0" which uses "caniuse-lite": "1.0.30000967". So it throws the above error. Currently my script logic is synchronous run commands. So it breaks with this message.
🔬 Minimal Reproduction
🔥 Exception or Error
"ERROR: Error: Browserslist: caniuse-lite is outdated. Please run next command `npm update`"
🌍 Your Environment
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 8.3.20
Node: 10.14.0
OS: win32 x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router
Package Version
--------------------------------------------------------------------
@angular-devkit/architect 0.803.20
@angular-devkit/build-angular 0.803.21
@angular-devkit/build-optimizer 0.803.21
@angular-devkit/build-webpack 0.803.21
@angular-devkit/core 8.3.20
@angular-devkit/schematics 8.3.20
@angular-devkit/schematics-cli 0.13.8
@angular/cdk 8.2.3
@angular/cli 8.3.20
@angular/material 8.2.3
@ngtools/webpack 8.3.21
@nguniversal/common 8.2.6
@nguniversal/express-engine 8.2.6
@nguniversal/module-map-ngfactory-loader 8.2.6
@schematics/angular 8.3.20
@schematics/schematics 0.13.8
@schematics/update 0.803.20
rxjs 6.4.0
typescript 3.5.3
webpack 4.39.2
Anything else relevant?
kaplantm, madhukudala, pubkey, julkue, nkmdev and 5 more