Hi guys todays my first day creating a website and I ran into an error.
I clicked on the add site option, with preferred environment, and entered login credentials but got the following error:
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. (node:electron/js2c/node_init:2:2610)
at /Volumes/Install Local/Local.app/Contents/Resources/app.asar/main/_helpers/execFilePromise.js:1:583
at new Promise ()
at Object. (/Volumes/Install Local/Local.app/Contents/Resources/app.asar/main/_helpers/execFilePromise.js:1:534)
at Generator.next ()
at /Volumes/Install Local/Local.app/Contents/Resources/app.asar/main/_helpers/execFilePromise.js:1:330
at new Promise ()
and then the following pop-up saying “Uh-oh! Could not update the host files. Local ran into a problem while trying to update the host file. Please ensure that the host file is not locked by anti-virus”
So there’s two things I’m new to, the MacOS (v14.3) and then Local (latest version), Wordpress etc.
@abdnafees Local currently requires Rosetta on Apple Silicon to provide support for parts of Local that use Intel binaries (such as nginx and a password prompt utility). We have plans to make Local fully Silicon native but I don’t have a timeline for this just yet. I’m glad the fix worked for you, though!
-We have been waiting for the desired update to the Apple Silicon app for two years. Wouldn’t it be better to remove that fictitious Apple Silicon version and leave the Intel version alone? After all, if we need Rossetta, why two versions?
@kiwinho We’re working to convert all of Local to be Apple Silicon native. PHP, Mailpit, and Electron’s components are already Apple Silicon native, so removing those to build only the pure Intel version would be a step backwards, as well as breaking the upgrade path for existing Apple Silicon users.
The remaining non-native binaries (nginx, MySQL, Apache, the etc/hosts password prompt) are in our queue to tackle next — I’m working on nginx now and test builds are working. This involved setting up compilation pipelines for nginx under Linux, Apple Silicon, and Intel running under Apple Silicon (CI providers are dropping support for Intel machines, so we have to cross-compile nginx for Intel under Apple Silicon).
So support is coming, but in many cases it’s not as simple as just downloading Apple Silicon binaries for everything and shipping those — sometimes only source is provided (nginx) and other times Local needs to make changes to support configuration or extensions (PHP), which means custom pipelines to create native binaries for the 4 architectures Local supports. Thanks for your patience and I’m sorry for the wait.
Hey @DudeThatsErin - Local should work normally on the MacOS 15 Beta but we have seen some users unable to utilize Local Connect. We plan to do more testing in conjunction with the actual public release of MacOS 15 later this year. Being unable to import a zip file might be a separate issue. You could try unzipping your site and manually importing it’s contents into a blank site with the steps here: Manually Import a Local Site
If you’re still having trouble please create a new post and fill out the details of our form.