Have you installed Rosetta on your system? You can try running softwareupdate --install-rosetta
then trying again. I encountered the same problem when trying to run MongoMemoryServer and this fixed my problem.
2 Likes