Now that the new Apple hardware is available for order, does anyone know if it’s compatible to use for Meteor development out of the box or if there is a need for first introducing a new mac architecture to the Meteor codebase? The details on x64 emulation support are a bit sketchy.
Yeah well while node is mostly platform-agnostic there are native packages and there’s also all this code in Meteor tooling that uses specific architectures like os.osx.x86_64. There is currently no “os.osx.arm” support and I’m not even sure what would break if there never was. Maybe just production builds.
Nope
➜ curl https://install.meteor.com/ | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7915 0 7915 0 0 14390 0 --:--:-- --:--:-- --:--:-- 14364
Only 64-bit Intel processors are supported at this time.
Thanks to hexsprite and wreiske on github I got it running. And despite running on Rosetta it’s still aprox. 50% than on my old 2016 MacBook Pro 13" (starting dev server on same repo took 36s on old and 23s on new MacBook). Can’t wait to have it all running natively.
You can either restart zsh running in Rosetta with arch -x86_64 zsh
or switch your terminal to using Rosetta by right-clicking the app in Finder, selecting Information and then selecting Open with Rosetta.