-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
cypress caching hangs in Gitlab CI in combination with Yarn 2 (berry) #23313
Comments
@iomedico-beyer Unfortunately at this point we have some known issues with yarn 2. We have this issue #22895 currently open which you can follow along which when addressed should fix your issue. In the meantime can you use yarn 1 and see if that works as a workaround? |
No way. Yarn 2 reduced our CI pipeline time from 3 hours to 15 minutes. I guess this is because with Yarn 2 our CI doesn’t have to handle hundreds of thousands of files (from installed dependencies) anymore, but just hundreds (one for each dependency). We will just keep Cypress caching off. But thanks anyway. |
Resurrecting this thread since I encountered this same issue with GitHub Actions - I've adjusted the After doing some investigating starting at the The long-term solution is for the dev term to add the packages in this package file to the Cypress cache and reference the packages from there, but as a workaround, you can add the essential dev dependencies using this command (This is the list that works for me for Cypress 10.7.0, but YMMV on your environment):
Hope this works for you too! |
@pondchamp Good to know! But I think I rather keep caching off than poluting my |
I found this issue because I had the same error message. Not suggesting that my issue was the original poster's, but maybe others will end up here like I did. In my case, it turned out that I had a |
Current behavior
After specifying CYPRESS_CACHE_FOLDER, our CI pipeline shows an Error and then hangs.
Desired behavior
Should not hang.
Test code to reproduce
?
Cypress Version
10.4.0
Node version
note sure
Operating System
note sure
Debug Logs
Other
Maybe relevant: We are using Yarn 2 (berry).
The text was updated successfully, but these errors were encountered: