question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix outdated warning "Browserslist: caniuse-lite is outdated ..." during "npm build"!

See original GitHub issue

Browserslist: 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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

24reactions
vamcartcommented, Feb 18, 2019

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!

21reactions
biruelrickcommented, Jul 2, 2019

In my case this works fine…

sudo npm i -g browserslist caniuse-lite

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found