Unable to provision site (Apple silicon)

Bug Summary

Just installed Local on new machine (Mac Mini M4). When I try to create a new site I get:

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 /Applications/Local.app/Contents/Resources/app.asar/main/_helpers/ execFilePromise.js:1:583
at new Promise ()
at Object. (/Applications/Local.app/Contents/Resources/ pp.asar/main/_helpers/execFilePromise.js:1:534)
at Generator.next ()
at /Applications/Local.app/Contents/Resources/app.asar/main/_helpers/ execFilePromise.js:1:330
at new Promise ()

Steps to reproduce

Installed the Apple silicon version of Local (local-9.1.0-mac-arm64.dmg). Create a new site. Fill in basic info. Error happens when creating. No site is created.

Environment Info

Describe your environment.

  • What Operating System are you using?
  • MacOS 15.1
  • What versions of site software (Nginx, Apache, PHP, MySQL) is used?
  • Standard (recommended)
  • What version of Local is installed?
  • Local 9.1.0

Supporting info

Please provide your Local Log.

{“class”:“addIpcAsyncListener”,“level”:“warn”,“message”:“Duplicate callback appears to be getting added to connectManifestWpeService:create”,“stringifiedCallback”:“(e,t,i,n,s,r,a,o)=>this.create(e,t,i,n,s,r,a,o)”,“thread”:“main”,“timestamp”:“2024-11-15T21:53:58.273Z”}
{“level”:“warn”,“linuxEdition”:null,“localVersion”:“9.1.0+6719”,“message”:“Electron Event ready”,“osArch”:“arm64”,“osPlatform”:“darwin”,“osRelease”:“24.1.0”,“timestamp”:“2024-11-15T21:53:58.900Z”,“windowsEdition”:null}
{“class”:“addIpcAsyncListener”,“level”:“warn”,“message”:“Duplicate callback appears to be getting added to connectManifestWpeService:create”,“stringifiedCallback”:“(e,t,i,n,s,r,a,o)=>this.create(e,t,i,n,s,r,a,o)”,“thread”:“main”,“timestamp”:“2024-11-15T21:54:54.831Z”}
{“level”:“warn”,“linuxEdition”:null,“localVersion”:“9.1.0+6719”,“message”:“Electron Event ready”,“osArch”:“arm64”,“osPlatform”:“darwin”,“osRelease”:“24.1.0”,“timestamp”:“2024-11-15T21:54:54.903Z”,“windowsEdition”:null}
{“class”:“SiteProvisionerService”,“level”:“error”,“message”:“Unable to provision site.”,“stack”:“Error: spawn Unknown system error -86\n at ChildProcess.spawn (node:internal/child_process:414:11)\n at spawn (node:child_process:776:9)\n at execFile (node:child_process:351:17)\n at t. (node:electron/js2c/node_init:2:2610)\n at %%appPath%%/main/_helpers/execFilePromise.js:1:583\n at new Promise ()\n at Object. (%%appPath%%/main/_helpers/execFilePromise.js:1:534)\n at Generator.next ()\n at %%appPath%%/main/_helpers/execFilePromise.js:1:330\n at new Promise ()”,“thread”:“main”,“timestamp”:“2024-11-15T21:56:23.412Z”}
{“eventId”:“48ece70bfabe46638da1b074e1fba4e8”,“level”:“warn”,“message”:“Unhandled Rejection.”,“p”:{},“reason”:{“code”:“Unknown system error -86”,“errno”:-86,“syscall”:“spawn”},“thread”:“main”,“timestamp”:“2024-11-15T21:56:28.217Z”}
{“class”:“HostsFileService”,“error”:{},“exitCode”:{},“level”:“error”,“message”:“Could not update hosts.”,“stderr”:{},“stdout”:{},“thread”:“main”,“timestamp”:“2024-11-15T21:56:29.063Z”}


I have uninstalled the apple silicon version and loaded the Intel version using Rosetta. It works but would prefer to use the proper version.

Now go back and install the Apple Silicon version. It requires Rosetta as not all of the lightning services are arm64 native yet.

1 Like

Thank you. I’ll do that shortly.

Worked perfectly. Cheers.

1 Like

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

Thank you @afragen and glad to hear that’s working @jimshoop! :green_heart: