Missing Mailpit

Thank you for the logs, @LizW!

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:

  1. Stop any running sites.
  2. Quit Local.
  3. Open the Windows File Explorer.
  4. Browse to This PC → [your hard drive] → Users → [your username] → AppData → Roaming → Local → lightning-services.
  5. Delete the folder named ‘mailpit-1.12.1+0’.
  6. Make sure antivirus or security software is either disabled or allowing Local to run unrestricted.
  7. 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.