Local app not launching

Hi,

I’ve installed Local, but the app is not launching at all.
It appears in the dock, bounces, and then disappears immediately.

I’ve looked for similar cases on this forum, but nothing has helped.
I rebooted my computer, installed a previous version of the app, cleared the caches, and deleted the app support file.

Has anyone faced a similar issue?
Thanks for your help!

System: MacBook Air M2, Sequoia OS / local-9.1.0-mac-arm64 installed.

Hi, @Mandrhis. Please could you try the latest version (currently 9.2.2) instead of 9.1?

9.2 made all binaries Apple Silicon native, which may make a difference to you on an M2.

Hi @nickc, thanks for your message.
Even after downloading Local 9.2.2 for Apple Silicon MacOS, the app is not lauching.

Thanks for trying that, @Mandrhis. I can’t reproduce this with Local 9.1 or 9.2.2 on an M2 MacBook Air running Sequoia so far.

Are you running the app from the Applications folder (not from the disk image)?

Are you using any security or antivirus software?

Are you able to share logs using the “manually get the Local log” process here?

Hi @nickc, thanks for the new tips.
Yes, I am running the app in the app folder in the HD.
No security or antivirus software here.
I am not able to share the logs as they don’t even exist in “~/Library/Logs/”. No trace of a file named “local-lightning-verbose.log” even with hidden files made visible and a search through Spotlight in the Finder.
I have the same computer at work with same OS and configuration: the app launched in the blink of an eye…

So is this a personal device @Mandrhis? Or a different one from your employer?

Does it have plenty of disk space?

Are you running other developer applications simultaneously? Apps like MAMP, XAMPP, or Docker for example.

Hi,
Yes, this is a personnal device. I just happen to have the same at work.
My comptuer has almost 60 Go free space.
No other developer app running. The only one in background are Google Drive, Adobe Creative Cloud, Chrome and Notion.

Have you tried a fully uninstall/reinstall yet? You might go that route next. You can find the full uninstall steps for MacOS here: https://localwp.com/help-docs/troubleshooting/uninstalling-local/

Yes, I completely desinstalled the app several times. I also use AppCleaner to make sure everything is deleted. After deleting the app, I rebooted my laptop. Still, the app closes as soon as I open it.

Well we are running out of common suspects here @Mandrhis but since as you said on another identical machine everything runs as expected it seem specific to this device. Is there anything else you can think of that is different between the two as far as applications, configuration, connection, etc?

The only difference I see between these machines is that one was bought in France and the other in Canada, but I’m pretty sure that’s irrelevant, ahah
That’s what makes this problem even more frustrating — there’s no obvious reason for it not to work… (or maybe my mistake is so big I can’t even see it?)

I’m assuming everything else is working normally on the device as well?

As a test could you try creating a new admin user on the device and see if it’s the same for that account?

As well as following Nick’s good advice to try with a new user, @Mandrhis, you can also try starting Local from the Terminal app in case there are any helpful messages:

  1. Open the Terminal application.
  2. Run this command:
    /Applications/Local.app/Contents/MacOS/Local
    

Feel free to share full terminal output here.

1 Like

Hi @nickc,
I ran the command in the terminal and got this output:

Terminal output

Last login: Tue Mar 4 23:40:06 on console

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit Use zsh as the default shell on your Mac - Apple Support.
Mac:~ mandrhis$ /Applications/Local.app/Contents/MacOS/Local
07/03/2025 10:37:21 [warn] [main] addIpcAsyncListener: Duplicate callback appears to be getting added to getWordpressTranslations – {“stringifiedCallback”:“() => __awaiter(this, void 0, void 0, function* () { return this.getWordpressTranslations(); })”}
07/03/2025 10:37:21 [warn] [main] addIpcAsyncListener: Duplicate callback appears to be getting added to connectManifestWpeService:create – {“stringifiedCallback”:“(manifestRequestToken, direction, siteId, fullSync, wpengineSiteId, wpengineInstallName, wpengineInstallId, wpenginePrimaryDomain) => this.create(manifestRequestToken, direction, siteId, fullSync, wpengineSiteId, wpengineInstallName, wpengineInstallId, wpenginePrimaryDomain)”}
07/03/2025 10:37:21 [info] [main] undefined: Finished maybeCopyBundledServices in 0.001s
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Loading Add-on: %%userDataPath%%/lightning-services/mailpit-1.12.1+0/lib/main.js
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Successfully Loaded Add-on: %%userDataPath%%/lightning-services/mailpit-1.12.1+0/lib/main.js
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Loading Add-on: %%userDataPath%%/lightning-services/mariadb-10.4.32+1/lib/main.js
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Successfully Loaded Add-on: %%userDataPath%%/lightning-services/mariadb-10.4.32+1/lib/main.js
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Loading Add-on: %%userDataPath%%/lightning-services/mysql-8.0.35+2/lib/main.js
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Successfully Loaded Add-on: %%userDataPath%%/lightning-services/mysql-8.0.35+2/lib/main.js
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Loading Add-on: %%userDataPath%%/lightning-services/nginx-1.26.1+3/lib/main.js
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Successfully Loaded Add-on: %%userDataPath%%/lightning-services/nginx-1.26.1+3/lib/main.js
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Loading Add-on: %%userDataPath%%/lightning-services/php-8.2.23+0/lib/main.js
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Successfully Loaded Add-on: %%userDataPath%%/lightning-services/php-8.2.23+0/lib/main.js
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Add-on does not have “productName” specified in package.json: %%appPath%%/node_modules/@getflywheel/local-components/package.json
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Add-on does not have “productName” specified in package.json: %%appPath%%/node_modules/@getflywheel/localcert/package.json
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Add-on does not have “productName” specified in package.json: %%appPath%%/node_modules/@getflywheel/localtunnel/package.json
07/03/2025 10:37:21 [info] [main] AddonLoaderService: Add-on does not have “main” or “renderer” specified in package.json: %%appPath%%/node_modules/@getflywheel/replacestream/package.json
07/03/2025 10:37:21 [verbose] [main] GraphQLService: GraphQL server ready at http://127.0.0.1:4000/graphql
07/03/2025 10:37:21 [verbose] [main] GraphQLService: GraphQL subscriptions ready at ws://127.0.0.1:4000/graphql
07/03/2025 10:37:21 [error] [main] undefined: EACCES: permission denied, stat ‘/Users/mandrhis/Library/Logs/local-lightning.log’ – {“errno”:-13,“code”:“EACCES”,“syscall”:“stat”,“path”:“/Users/mandrhis/Library/Logs/local-lightning.log”,“stack”:“Error: EACCES: permission denied, stat ‘/Users/mandrhis/Library/Logs/local-lightning.log’”}
node:events:495
throw er; // Unhandled ‘error’ event
^

NodeError: write after end
at writeAfterEnd (/Applications/Local.app/Contents/Resources/app.asar/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js:261:12)
at Writable.write (/Applications/Local.app/Contents/Resources/app.asar/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js:305:21)
at File.log (/Applications/Local.app/Contents/Resources/app.asar/node_modules/winston/lib/winston/transports/file.js:222:34)
at File._write (/Applications/Local.app/Contents/Resources/app.asar/node_modules/winston-transport/index.js:103:17)
at doWrite (/Applications/Local.app/Contents/Resources/app.asar/node_modules/winston-transport/node_modules/readable-stream/lib/_stream_writable.js:409:139)
at writeOrBuffer (/Applications/Local.app/Contents/Resources/app.asar/node_modules/winston-transport/node_modules/readable-stream/lib/_stream_writable.js:398:5)
at Writable.write (/Applications/Local.app/Contents/Resources/app.asar/node_modules/winston-transport/node_modules/readable-stream/lib/_stream_writable.js:307:11)
at DerivedLogger.ondata (/Applications/Local.app/Contents/Resources/app.asar/node_modules/winston/node_modules/readable-stream/lib/_stream_readable.js:681:20)
at DerivedLogger.emit (node:events:529:35)
at addChunk (/Applications/Local.app/Contents/Resources/app.asar/node_modules/winston/node_modules/readable-stream/lib/_stream_readable.js:298:12)
Emitted ‘error’ event on PassThrough instance at:
at errorOrDestroy (/Applications/Local.app/Contents/Resources/app.asar/node_modules/winston/node_modules/readable-stream/lib/internal/streams/destroy.js:98:101)
at writeAfterEnd (/Applications/Local.app/Contents/Resources/app.asar/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js:263:3)
at Writable.write (/Applications/Local.app/Contents/Resources/app.asar/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js:305:21)
[… lines matching original stack trace …]
at DerivedLogger.emit (node:events:529:35)

Node.js v18.18.2
Mac:~ mandrhis$ [9333:0307/103721.460094:ERROR:mach_port_rendezvous.cc(317)] bootstrap_look_up com.getflywheel.lightning.local.MachPortRendezvousServer.1: Permission denied (1100)
[9333:0307/103721.460312:ERROR:field_trial.cc(1080)] Mach rendezvous failed, terminating process (parent died?)
Mac:~ mandrhis$

It seems to be an access issue?
I haven’t changed any major settings recently.

(Thanks for your help and patience so far!)

Thanks for these logs, @Mandrhis.

Are you sure you’re not running any security or anti-virus software that could stop Local from writing to the disk or running? It looks like something could be blocking Local (‘EACCES: permission denied’) and then terminating it (‘parent died’). If so, you could add Local to the software’s whitelist if possible and reboot.

If you’re not using any software like that, creating a new user account as Nick-B mentioned is worth trying as a next step if you haven’t already.

If that doesn’t help either, you could check your user system folder permissions, for example:

> ls -ld ~/Library/Logs/
drwx------+ 40 user.name  staff  1280  7 Mar 16:18 /Users/user.name/Library/Logs/

If you see something other than drwx------+, it might be a sign that your system permissions are broken. You could try reinstalling macOS or upgrading it if there are updates available.

Hi @nickc,

Problem solved!

For some unknown reason, my “Logs” folder was set to “Forbidden access mode,” which prevented Local from writing to it.

I have no idea how this happened—my OS is up to date, and I don’t use any security or antivirus software. However, an app like Clean Me might have interfered with it.

Your advice on checking the terminal was really helpful in identifying the access issue, and when you pointed out that it was specifically related to the “Logs” folder, it helped me pinpoint the problem.

I simply clicked on the lock, changed the permission from “Forbidden access” to “Read and write,” and that was it—Local now launches without any issues!

Looking back, it seems like such a small thing, but I wouldn’t have figured it out on my own.
A huge thanks to both of you, @nickc and @Nick-B, for your help and patience!

Best,

2 Likes

Great to hear! Thanks for your patience, @Mandrhis, and for carefully documenting your fix here to help others in the future.

1 Like

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