-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update browserlist DB for caniuse-lite #149
Comments
Hi @peterwilsoncc from my cursory understanding of the library and it's workings, shouldn't this be done locally? Or does it need to be updated in the project? |
@punndcoder28 You run the command above locally to update the |
Thanks for pointing out how it should be done. I ran the following commands as suggested in the issue description which results in the error mentioned here. I also do not want to run the install command with npm: Should I use any other version than the ones mentioned above? |
It looks like the GitHub actions run using node 12 so maybe give that a try. The linked npm version appears to be around 6.14.16. If you haven't got a node version manager installed already then https://github.com/Schniz/fnm/ is great. publisher-media-kit/.github/workflows/lint.yml Lines 22 to 25 in 7c3c640
|
Ended up using |
I have opened up PR #150 which should fix this issue. |
Describe the bug
During an
npm install
an alert is shown that the caniuse browserlist database is out of date. It can be updated by runningnpx browserslist@latest --update-db
.This will help reduce redundant JS and CSS required to support unsupported browsers.
Steps to Reproduce
npm i; npm run build
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: