Localwp won't open after upgrading to new localwp update

Issue Summary

localwp won’t open after upgrading to new localwp update. The program tries to open but closes before appearing.

Troubleshooting Questions

Replication

try to open newest localwp

System Details

the newest update

  • What Operating System (OS) and OS version is being used?

Garuda Linux/Arch Linux

can’t open LocalWP to attach a local log :frowning:

when I open Local w terminal this is the error I’m getting


╭─cc@cc in ~ via △ as 🧙 took 11s
╰─λ local
7/1/2023, 8:59:49 PM [error] [main] undefined: JSON parsing failed while reading %%userDataPath%%/lightning-services/apache-2.4.43+8/package.json [SyntaxError: Unexpected end of JSON input] -- {"originalError":{},"stack":"Error: JSON parsing failed while reading %%userDataPath%%/lightning-services/apache-2.4.43+8/package.json [SyntaxError: Unexpected end of JSON input]\n    at makeNicerJsonParsingError (%%appPath%%/node_modules/fs-jetpack/lib/read.js:38:22)\n    at Object.readSync [as sync] (%%appPath%%/node_modules/fs-jetpack/lib/read.js:76:11)\n    at Object.read (%%appPath%%/node_modules/fs-jetpack/lib/jetpack.js:188:19)\n    at AddonLoaderService._loadAddon (%%appPath%%/main/addons/AddonLoaderService.js:1:4105)\n    at %%appPath%%/main/addons/AddonLoaderService.js:1:3017\n    at Array.forEach (<anonymous>)\n    at %%appPath%%/main/addons/AddonLoaderService.js:1:2991\n    at Array.forEach (<anonymous>)\nat AddonLoaderService.loadAddonsInRepos (%%appPath%%/main/addons/AddonLoaderService.js:1:2817)\n    at Object.<anonymous> (%%appPath%%/main/main.js:1:4852)"}
(node:146630) [DEP0128] DeprecationWarning: Invalid 'main' field in '/opt/Local/resources/app.asar/node_modules/ssh-key-to-pem/package.json' of 'lib/index.js'. Please either fix that or report it to the module author
(Use `local --trace-deprecation ...` to show where the warning was created)

Hi @dolldothouse!

Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.

Do you have any antivirus, security, or firewall applications that could be blocking Local?

@dolldothouse

Following up here to see if you were able to resolve this or if a subsequent update got it working again?

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