6.5.0 beta: Unable to provision sites

Bug Summary

I’ve installed Local Beta 6.5.0 onto a (almost fresh) install of macOS Monterey 12.6, without Rosetta installed.

When I try to create a new site, or pull from WP Engine, I get:

{“thread”:“main”,“class”:“SiteProvisionerService”,“stack”:“Error: spawn Unknown system error -86\n at ChildProcess.spawn (internal/child_process.js:403:11)\n at spawn (child_process.js:562:9)\n at execFile (child_process.js:246:17)\n at t. (electron/js2c/asar_bundle.js:5:2242)\n at %%appPath%%/main/_helpers/execFilePromise.js:1:582\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 ()”,“level”:“error”,“message”:“Unable to provision site.”,“timestamp”:“2022-10-22T14:13:26.697Z”}

There are also repeated errors of the following in the log before and after which I’m including incase it’s related:

{“thread”:“main”,“errno”:-57,“code”:“ENOTCONN”,“syscall”:“read”,“level”:“error”,“stack”:“Error: read ENOTCONN\n at tryReadStart (net.js:574:20)\n at Socket._read (net.js:585:5)\n at Socket.Readable.read (internal/streams/readable.js:481:10)\n at Socket.read (net.js:625:39)\n at new Socket (net.js:377:12)\n at Object.Socket (net.js:269:41)\n at createSocket (internal/child_process.js:314:14)\n at ChildProcess.spawn (internal/child_process.js:433:23)\n at spawn (child_process.js:562:9)\n at execFile (child_process.js:246:17)”,“message”:“read ENOTCONN”,“timestamp”:“2022-10-22T14:13:26.623Z”}

Steps to reproduce

Install Local 6.5.0 for Apple Silicon without Rosetta 2 installed. Attempt to create a site.

Environment Info

Describe your environment.

  • What Operating System are you using?
    • macOS Monterey 12.6 (21G115)
  • What versions of site software (Nginx, Apache, PHP, MySQL) is used?
    • Not applicable as it happens regardless of what’s picked.
  • What version of Local is installed?
    • 6.5.0 Beta (6164)

Supporting info

Logs included above.