-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Yarn integrity errors breaking build #49
Comments
just upgrade to default yarn version to 1.19.1 will be very appreciated |
Given that 1.19.1 is the current stable that should be fine |
I'm on 1.19.2 and this still happens. |
seems that yarn cache sometimes is reusable but need to be upgraded / migrated and looks like that that kind of migration may fail and end with integrity error. As I understand that, it's rather one timer and build just fails when some older version of yarn was launched before. and that cache need to be deleted. I am not sure if there will be any fix introduced that will remove a need for that cache deletion. |
I have to clean the cache every single time. Anything changes at all I need to do |
agree, so seems that this need to be addressed somehow / more elegantly |
On some dev machines, under totally strange circumstances this kicks builds using node-gradle/gradle-node-plugin :
yarnpkg/yarn#7584
current workaround for this is to run
sh gradlew yarn_cache_clean
maybe sth else could be done like upgrading default version of yarn (hopefully if it was fixed in the meantime) to prevent this issue occuring in case of using this plugin?
The text was updated successfully, but these errors were encountered: