HI, I created a small wp site. I quit out of local. The next time I started local I had the error message across the top " Missing Mailpit v1.12. Dont worry well reinstallit next time you start your site." I cannot open the wp site. I get an oh oh error screen shot attached. I have uninstalled local, shut down pc and tried again with fresh installation. I created a simple one page wp site and encountered the same error. I switched off antivirus and still the same problem. Any advice on what to do to solve the problem. Thanks
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however thereās always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isnāt private info like passwords being displayed.
It looks like Local canāt start Mailpit (the service that captures WordPress email for you) because a file Local needs is missing:
file does not exist: %%userDataPath%%\\lightning-services\\mailpit-1.12.1+0\\lib\\main.js"
Local normally copies these files for you when it first starts. You mention that youāre using antivirus software, but that youāve disabled it. Itās worth checking:
That you restarted Local after disabling antivirus software. (Local only writes the above file when it first launches.)
That thereās no other security software running that might prevent Local from writing files. For example, hereās how to configure software like Kapersky Total Security to allow Local to run unrestricted. Changes you make will require a restart of Local.
If that doesnāt help, you can try forcing Local to recreate the Mailpit service files like this:
Stop any running sites.
Quit Local.
Open the Windows File Explorer.
Browse to This PC ā [your hard drive] ā Users ā [your username] ā AppData ā Roaming ā Local ā lightning-services.
Delete the folder named āmailpit-1.12.1+0ā.
Make sure antivirus or security software is either disabled or allowing Local to run unrestricted.
Start Local.
Local should recreate the folder named āmailpit-1.12.1+0ā at This PC ā [your hard drive] ā Users ā [your username] ā AppData ā Roaming ā Local ā lightning-services.
You should then be able to start your site.
If you donāt see that mailpit-1.12.1+0 folder after starting Local, it can mean something prevented Local from writing to the directory. It would be worth checking if you have anything else installed that could do this.
In my case, the sites seem to run fine but when I click Open Mailpit in Local nothing happens. I get the āMissing Mailpitā error every time I boot up Local. If I dismiss the alert and restart the site (without restarting Local), I donāt get the error again but Mailpit still doesnāt work.
I donāt have any antivirus or security software. [feels suddenly very exposed ] And I tried to delete the folder you mentioned but couldnāt find any folders with āmailpitā in the name.
This started happening recently right after I installed the Apple Silicon version. Previously had the Intel version on the same machine.
Please could you try the steps in this post for macOS, @diegovogel?
This started happening recently right after I installed the Apple Silicon version. Previously had the Intel version on the same machine.
The steps above will swap the Intel version of Mailpit for the Apple Silicon version. (Local currently doesnāt do that automatically if you switch between macOS architectures, which at least explains the message youāre seeing. Sorry for the confusion!)