How can i fix this error?

Hi @programmerofiq

We would be happy to assist with your Local troubleshooting! Could you provide some more details to help us take a further look?

  • What is your OS/OS version?

  • What version of Local are you on?

  • Please attach a copy of your Local Logs

Keep us posted and we’d be happy to help further!

Hi Nick,

Thanks for your response.

Here are the requested details:

• OS: Windows 11 Pro
• Version: 25H2
• OS Build: 26200.8655

• Local Version: 10.1.1

I’ve attached my Local Logs.

The issue occurs when I click “Start Site”. As soon as I click “Start Site”, Local shows the following error:

TypeError: Cannot convert undefined or null to object
at PortsService.js

This only happens with this specific site. Other sites in Local start normally.

Please let me know if you need any additional information or if there are any troubleshooting steps I should try.

Thank you!

Since it’s only this one site, if you create a new, blank site in Local can you access that okay? If you can, then you may want to try reimporting the site getting the errors. The steps would look like this:

  • Locate the site files on your machine, and save a copy of them to your desktop. If you click Go to Site Folder under your site name it should take you right to where they are located.
  • Once you have those copied, completely delete the site from Local
  • Restart Local/your machine
  • Reimport the site back into Local. You can refer here on how to Restore from only Local site files