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.

Invalid error: Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db

See original GitHub issue

The command in the title does not work. This results in:

npx browserslist@latest --update-db
Need to install the following packages:
  browserslist@latest
Ok to proceed? (y)
browserslist: Unknown arguments --update-db.

Usage:
  browserslist
  browserslist "QUERIES"
  browserslist --config="path/to/browserlist/file"
  browserslist --coverage "QUERIES"
  browserslist --coverage=US "QUERIES"
  browserslist --env="environment name defined in config"
  browserslist --stats="path/to/browserlist/stats/file"

Specifically: browserslist: Unknown arguments --update-db is a problem.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
aicommented, Oct 27, 2021

Just update dependencies inside the project to have the latest Browserslist

0reactions
Tranduchuy1commented, Dec 23, 2021

Vào Th 2, 25 thg 10, 2021 lúc 20:47 Joar Wilk @.***> đã viết:

The command in the title does not work. This results in:

npx @.*** --update-db Need to install the following packages: @.*** Ok to proceed? (y) browserslist: Unknown arguments --update-db.

Usage: browserslist browserslist “QUERIES” browserslist --config=“path/to/browserlist/file” browserslist --coverage “QUERIES” browserslist --coverage=US “QUERIES” browserslist --env=“environment name defined in config” browserslist --stats=“path/to/browserlist/stats/file”

Specifically: browserslist: Unknown arguments --update-db. is a problem.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/browserslist/browserslist/issues/637, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATRLTIMZPV3J4AHIRGYF37LUIVNWTANCNFSM5GVKSSXA .

– Huy

Read more comments on GitHub >

github_iconTop Results From Across the Web

caniuse-lite is outdated. Please run next command `npm ...
Try this it solved my problem npx browserslist@latest --update-db.
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
Hi! Running scan with sonar 8.9 on a project containing css files shows the f…
Read more >
caniuse-lite is outdated. Please run: npx browserslist@latest
While trying the run my server in NextJs, I encountered the below error. Browserslist: caniuse-lite is outdated. Please run: npx browserslist@ ...
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 --update-db ...
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