Closed inferpse closed 2 years ago
Hi @inferpse
Thank you for pointing out that. We will add native binaries for ARM-based Mac into the testcafe-browser-tools
module.
Thanks! 👍 I can help with testing if needed.
@miherlosev this issue is not really of TYPE: enhancement
:
TestCafe just doesn't work at all on M1 macs without Rosetta installed.
And I had to compile testcafe-browser-tools
again after I've updated my node_modules
dependencies...
Hope this will be resolved any time soon.
Thank you for your inquiry. We marked this issue as an enhancement, because it was a request to support a newly emerged platform (at that time), whereas the lack of support for new platforms (as well as, for instance, browsers) is not something we would normally consider a bug. However, as time goes and new things become standard, the lack of support may be considered an issue. That said, we will discuss if we should re-classify or reprioritize this task.
In the meantime, could you please elaborate on your scenario? In particular, why are you unable to use Rosetta?
Hi Vasily, I don't have any software that requires Rosetta... And it feels like an overkill to install Rosetta just to run 155 KB binary from this repo 🤷♂️
TestCafe is amazing and I believe that lack of M1 support might prevent some mac users from using your product.
And I feel that adding M1 support is a low-hanging fruit because gulp buildMac
produces the binary without any issues on both Big Sur/Monterey running on M1 chip.
Thank you for the clarification. We will look into this.
For anyone having trouble getting TestCafe running on an M1 Mac, here's all the steps I just took to get it working. (It's likely some of them aren't necessary, but I can't tell you which ones are and aren't, so this is just everything I did before I got success.)
softwareupdate --install-rosetta
1.17.1
as of Dec 5, 2021)npm install
Fixed in a8a013d713fd915ba1b02b6eb105783ee8af6cbb.
Hi,
Current version of TestCafe (1.11.0) doesn't work on Apple M1 macs without Rosetta installed. I have native build of Node.js (v15) and TestCafe fails with following message:
I was able to overcome this issue by cloning this repo and building it with
gulp buildMac
. It was able to compile flawlessly without any errors:After replacing the
testcafe-browser-tools
binary innode_modules
testcafe started to work properly on M1. Could you please update this package on npm so that it will contain universal binary for both Intel and ARM based Macs?