Fix outdated warning "Browserslist: caniuse-lite is outdated ..." during "npm build"!
See original GitHub issueBrowserslist: caniuse-lite is outdated. Please run next command npm update caniuse-lite browserslist
Looks like this dependency from “babel-preset-env” package from package.json
Maybe to update babel packages in package.json
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:10 (5 by maintainers)
Top Results From Across the Web
caniuse-lite is outdated. Please run next command `npm ...
First, as the message says, I ran npm update caniuse-lite browserslist but it didn't fix the issue. I deleted the whole node_modules directory ......
Read more >caniuse-lite is outdated. Please run: npx browserslist@latest ...
Unable to upgrade + Incorrect delegation of responsibility - "Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db" #663.
Read more >ERROR: Browserslist: caniuse-lite is outdated - SonarQube
It's just an error in the logs and probably some other side-effects like not properly analysing all the “current” rules that would come...
Read more >Browserslist: caniuse-lite is outdated - CircleCI Discuss
I'm getting the following logs when running some tests. Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest ...
Read more >i dont know how to fix it - Flatlogic Forum
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating Browserslist: caniuse-lite is outdated.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Why package-lock.json file located in repository?! As i know, it’s a automatic generated file after “npm install” command. Auto-generated files and dependency packages should not be in repository as i know!
In my case this works fine…
sudo npm i -g browserslist caniuse-lite