Tuesday, 7 January 2020

Angular Browserslist: caniuse-lite is outdated. Please run next command `npm update`

I have recently started getting this error on a Angular 8 project (node v10.16.0) I am working on. Running npm update caniuse-lite browserslist did nothing

So I removed package-lock.json, removed node_modules and ran npm install, but browserlist file has gone. Again when I run ng build, I get same message: Browserslist: caniuse-lite is outdated. Please run next command npm update

I see this post on same topic: Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist` However, it talks about WebCompiler and autoprefixer and I have no idea of those. Please guide



from Angular Browserslist: caniuse-lite is outdated. Please run next command `npm update`

No comments:

Post a Comment