Unable to provision site on MacOs

when I try to create a new site I get this error: local ran into a problem when trying to update the hosts file


System Details

Schermata 2024-02-14 alle 16.27.40

Hi @Gino

Do you have Rosetta installed?

Rosetta 2 is required for Local’s Apple Silicon build due to the Nginx and MySQL Lighting Services compiled on the Intel architecture. We do plan to have a Local release out in the future that will drop this dependency but for now it is necessary.

You can install Rosetta by opening up a terminal window and using this command:

softwareupdate --install-rosetta

Others have found this doc to be helpful:

1 Like