can't run npx browserslist --update-db on windows
See original GitHub issueWhen I run the command: npx browserslist --update-db
on windows I get: Cannot read property '1' of null
I made sure I updated to the latest: browserslist@4.14.2
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 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
While trying the run my server in NextJs, I encountered the below error. These following steps worked for me and I hope this...
Read more >browserslist - npm
The config to share target browsers and Node.js versions between different front-end tools. It is used in: Autoprefixer · Babel · postcss-preset ...
Read more >Browserslist on Twitter: "@antiflasher Run `npx browserslist ...
In Browserslist 4.12 we move the tool to update caniuse-lite (browsers DB) to a separated project. Old `npx browserslist --update-db` will work too...
Read more >Browserslist update in red font when SonarRunner was ...
When I was executing Sonar Runner, I saw these lines in the Console Window. Not sure whether these should be executed on the...
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
I just fixed the issue by clearing my node-modules and my lock file. Thanks.
Try
npx browserslist@latest --update-db
If it will not help post the full error message (I need file names and line numbers).