-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Win32-Arm64 Is not supported. #30252
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
Comments
Are you using Windows 11 24H2? |
Yes, i am. but i dont know if this matters? |
Thanks for providing the details of your environment! Cypress is built for According to https://learn.microsoft.com/en-us/windows/arm/overview the emulation changed in Windows 11 24H2, so that is relevant. |
Alright, but this also states that with Windows 11 24H2 supports emulation of x64 apps. wouldnt that put cypress in that category? Thus, when i enforced that https://download.cypress.io/desktop/13.13.3?platform=win32&arch=x64 would be downloaded is not wrong. other than that side-effects might happen. -- |
I can't be of much help here as I don't have access to the hardware you're using. Have you installed Node.js Windows arm64 or Node.js Windows x64? Reading the Node.js docs it seems like the x64 version of Node.js might give you a better experience, however I can't really say as I can't test this. |
At the current moment i havnt found any issues yet. I am running Node.js Windows ARM64. i found this, https://learn.microsoft.com/en-us/windows/arm/arm64ec. Which suggests that Windows 11 ARM has been supporting x64 emulation for a while and that Windows 11 24h2 added "Prism", which is an optimization for Snapdragon. windows 10 ARM however, do not support x64 emulation, might cause problems. __ i believe i added this as a feature request. but maybe i should point that out. |
I understood it that way. The Cypress.io team may add a label accordingly. In terms of using the emulation, it may simply be a question of testing and documentation. Building Cypress for Windows arm64 would however be a major enhancement to the process and the documentation. |
Building it for Windows arm64 would be great. But to add the label to run cypress with the emulator might be a good start tho. |
For the time being, I wonder if the Cypress team can redirect https://download.cypress.io/desktop/13.13.3?platform=win32&arch=arm64 to the win32-x64 version |
This comment has been minimized.
This comment has been minimized.
|
A possible way forward would be to patch Cypress locally to allow downloading and installing a Cypress It would be good to have There is some work going on to provide such runners, however it seems that GitHub Actions
CircleCI
|
You could use patch-package to update your Cypress for now to bypass the OS validation for now. That's our recommendation. |
I have a new Surface laptop with snapdragon CPU and i try to setup my angular packages via "npm i" with the same result as mentioned above:
I have tried node.js for x64 and arm aswell as forcing the installation without resolving the issue. I cant deal with patch-package since its a restricted angular project. |
Solution for Cypress Installation Issue on Windows 11 (Surface Laptop) Steps to Resolve the Issue Go to the (https://www.cypress.io/install)and download the appropriate Cypress version ZIP file (e.g., 13.17.0). After downloading, extract the contents of the ZIP file to a folder on your PC. Move the extracted Cypress folder to the following directory on your PC: C:\Users{username}\AppData\Local\Cypress\Cache\13.17.0 Run Cypress Commands: You should now be able to execute the following Cypress commands: npx cypress open npx cypress run |
I haven't seen anything from CircleCI on this subject. |
I also request that Cypress support arm64. I'm using the new Surface Pro 11 with Snapdragon X-Elite, and node.js works flawlessly on the device. |
GitHub announced Windows arm64 hosted runners now available in public preview on Apr 14, 2025. Public preview means beta quality. If this becomes stable it may allow testing Cypress against the WoA (Windows on Arm) architecture. Still no sign of movement at CircleCI for WoA. They also have not responded to the question about supporting Windows 2025 either. |
I was able to run a Cypress test in Chrome against the repo https://github.com/cypress-io/cypress-example-kitchensink in the GitHub Action runner cypress/cli/lib/tasks/install.js Lines 139 to 143 in f62a65f
adding Also using the environment variables: CYPRESS_DOWNLOAD_PATH_TEMPLATE: '${endpoint}/win32-x64/cypress.zip'
CYPRESS_CACHE_FOLDER: $HOME/.cache/Cypress and separating the patched dependency installation from the Cypress binary install. At this time, this just shows a proof of concept. It doesn't mean that it is supported. There is not yet a production quality CI environment available to test Cypress with Windows on Arm (WoA). Also the Cypress.io team would need to consider adding it to the Cypress roadmap as well. Node.js 20 is the minimum version required. Edit: Node.js 18 doesn't support WoA, however this version Edit: the Windows 11 arm image in beta on GitHub is currently based on the older Windows 11 23H2 edition and ships with older browsers, making it currently unsuitable for anything apart from beta testing. |
Other preview users and I have submitted several issues in https://github.com/actions/partner-runner-images/issues regarding the |
Same here, Surface Pro 11. Fails ton install on arm64 |
there was a patch wich would allow cypress to install: #30370 @jennifer-shehane why was this closed? how should I use patch-package? My problem is, that our normal installation workflow of our build does not work. Why was the Ticket closed? This would not hurt the normal workflow. If anyone set this env var, he knows what hes doing. |
The Cypress documentation https://docs.cypress.io/app/references/troubleshooting#Patch-Cypress describes how to use Unfortunately there has been no progress from the GitHub partners regarding issues with the |
But why prevents this a patch from beeing merged? |
I still believe my PR #30370 (comment) helps users, not maintainers. I don't think maintainers should add patch-package to their package and complicate the configuration. |
|
Uh oh!
There was an error while loading. Please reload this page.
What would you like?
Run a web application with Cypress on a computer with Win32-Arm64 OS.
Why is this needed?
With Asus recently releasing laptops with Qualcomm CPUs, this will be more and more requested.
See The Asus Vivobook S 15.
Other
I managed to start my Web app with cypress regardless.
By adding in win32-arm64 as a valid OS in install.js and then hardcode so that "getUrl" in download.js returns "https://download.cypress.io/desktop/13.13.3?platform=win32&arch=x64". What side-effects this has is unknow.
The text was updated successfully, but these errors were encountered: