Unable to provision site / Could not update hosts file

What issue or error are you experiencing?

On a freshly factory reset Macbook Pro with no other dev tools downloaded, running latest version of MacOS.

When I attempt to start new sites, I get the following errors.


Uh-oh! Unable to provision site.
Error: Error: spawn Unknown system error -86
at ChildProcess.spawn (node:internal/child_process:414:11)
at spawn (node:child_process:776:9)
at execFile (node:child_process:351:17)
at t.<computed> (node:electron/js2c/node_init:2:2610)
at /Applications/Local.app/Contents/Resources/app.asar/main/_helpers/ execFilePromise.js:1:583
at new Promise (<anonymous>)
at Object.<anonymous> (/Applications/Local.app/Contents/Resources/ app.asar/main/_helpers/execFilePromise.js:1:534)
at Generator.next (<anonymous>)
at /Applications/Local.app/Contents/Resources/app.asar/main/_helpers/ execFilePromise.js:1:330
at new Promise (<anonymous>)
Uh-oh! Could not update hosts file
Local ran into a problem when trying to update the hosts file.
Please ensure that the hosts file is not locked by anti-virus.

What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

Anytime I attempt to make a fresh site.


System Details

  • Local Version:
    9.1.0-mac.dmg (latest)

  • Operating System (OS) and OS version:
    macOS
    Sequoia 15.1


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @ryrimsky

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

That was quick!
Thanks Nick, much appreciated :slight_smile: :grinning:

1 Like

Sure thing @ryrimsky! :green_heart:

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.