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 @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…
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.
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?)
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:
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)
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.
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!