-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
browserslist package not detected with yarn #47
Comments
Seems like you also have monorepo. Sorry, this issue is related to a complex environment reproduction. You need to debug it on your machine and find a fix. |
No it's not a monorepo. I can reproduce with this {
"name": "test",
"packageManager": "[email protected]",
"devDependencies": {
"autoprefixer": "^10.4.2",
"browserslist": "^4.24.3",
"postcss": "^8.4.14"
}
} EDIT: Just tried with an empty dockerized env with only node 20, corepack enabled and yarn 4.6.0 installed, to see if is my env or not, but I've got the same problem. docker run -it --entrypoint bash node:20 and inside shell: cd /home/node
corepack enable
yarn init
yarn add autoprefixer browserslist -D
yarn dlx update-browserslist-db@latest |
Yes, seems like we have a problem with new Yarn. But don’t worry. It is not a big error. It is an error in a system which shows browser diff before/after update. You can use tool without this diff. I made this message less aggressive 8060322 If somebody will know a way to fix it properly for Yarn, please send PR. |
The problem is at L90 of
For now I have found a workaround using the command |
I've tried to run
yarn dlx update-browserslist-db@latest
but I get the following error:I've tried to add browserslist to package.json (previously not included but only required by autoprefixer) but nothing changes
The text was updated successfully, but these errors were encountered: