Local now fails to start after latest 7.1.2 for Windows Update

What issue or error are you experiencing?

Local now fails to start after latest 7.1.2 for Windows Update
This is a copy from my windows error log in XML:
Local 7.1.2 Update run error.log (2.1 KB)


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc


System Details

  • Local Version:
    7.1.2
  • Operating System (OS) and OS version:
    Windows 10 Pro 22H2 64Bit

Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)

local-lightning-verbose.log (91.1 KB)


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.

1 Like

Hi @Jqaybase

Do you mean that the app won’t load at all on your machine or that you’re unable to get your site working within the app?

I’m assuming you’ve tried rebooting Local and your machine? Checked for any security or applications that could be blocking?

App wont load at all, I went back to 7.1.0 and its working again.
Before going back to previous version, I also did a full uninstall and deleted all folders in AppData\Local\Programs and appdata/roaming/local, also deleted the site. Then did a full clean install of 7.1.2 and it still wouldn’t start up.

Did they do proper pre-release environment testing and put the release through a win10 pro 64bit environment run before going live?

And yes, no other firewall software other then the windows default defender. My windows is also fully up to date and my workstation is very stable. Intel i9 Extreme Edition

Device name JAYDESIGN
Processor Intel(R) Core™ i9-7900X CPU @ 3.30GHz 3.31 GHz
Installed RAM 96.0 GB (95.7 GB usable)
Device ID 17210C58-9DFD-41AF-AB7C-5BC3539DD748
Product ID 00330-80000-00000-AA354
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Edition Windows 10 Pro
Version 22H2
Installed on ‎8/‎17/‎2022
OS build 19045.3324
Experience Windows Feature Experience Pack 1000.19041.1000.0

Yes, proper testing is conducted before every release in fact we put out two Beta releases first and we had many confirmations of those working fine for users before we put out the full release. I’ll check with the team however on this. Can you manually navigate to your Logs and generate a Zip of your Lightening, Verbose, and Router Logs for us to review?

My lightning-verbose is attached to the first post. Unfortunately since I have already done a full clean install of the 7.1.0 version, I no longer have access to the normal lightning log. My bad.

Hi Nick what other paths does local make use of if under a user install and not all users?
AppData\Local\Programs\Local
AppData\Local\local-updater
AppData\Roaming\Local
useraccount/localsites

I know of these, but are there any others?
Also does local make use of the registry to store setting values?

Whats odd now is that none of my installs, even fresh after uninstall will run.
Keep getting faulting application failed to start in windows now no matter what version I try.
I made sure all the dependencies for VC are installed. I also uninstalled IIS to make sure it doesn’t conflict. Still no go. I even disable the windows default firewall, incase that is part of the problem and it doesn’t make a difference.

I also removed any previous windows system environment paths added trying to get the Magic image extension to load properly in apache…

I just want to get going on a clean install again.

hosts is not read only, and it did add the settings to it before but, the app is not even starting up so its not even getting to run the default site settings or even create a new site.

The windows error from event log is always the same:
Faulting application name: Local.exe, version: 7.1.0.45630, time stamp: 0x63bef5b0
Faulting module name: Local.exe, version: 7.1.0.45630, time stamp: 0x63bef5b0
Exception code: 0x80000003
Fault offset: 0x013df917
Faulting process id: 0x6c0
Faulting application start time: 0x01d9cd631fbc787c
Faulting application path: C:\Users\Administrator\AppData\Local\Programs\Local\Local.exe
Faulting module path: C:\Users\Administrator\AppData\Local\Programs\Local\Local.exe
Report Id: d5fa1551-5edf-4ef6-82aa-e4cf9a855369

After doing a full uninstall and trying via all user install and making use of ProgramFiles(x86) I get the same problem. But this time trying the new 7.1.2 build.

Faulting application name: Local.exe, version: 7.1.2.45719, time stamp: 0x63bef5b0
Faulting module name: Local.exe, version: 7.1.2.45719, time stamp: 0x63bef5b0
Exception code: 0x80000003
Fault offset: 0x013df917
Faulting process id: 0x458
Faulting application start time: 0x01d9cd6b6932d4e3
Faulting application path: C:\Program Files (x86)\Local\Local.exe
Faulting module path: C:\Program Files (x86)\Local\Local.exe
Report Id: 9586a493-6c51-4727-821a-aef3b34a814c

I am confused because it was running on 7.0.1 4/5 days ago.

Also I have VSCode installed, I am useless when it comes to using debug to find the issue.
1 x log entry in local-lightning.log
{“localVersion”:“7.1.2+6410”,“osPlatform”:“win32”,“osRelease”:“10.0.19045”,“osArch”:“ia32”,“windowsEdition”:“Microsoft Windows 10 Pro”,“linuxEdition”:null,“level”:“warn”,“message”:“Electron Event ready”,“timestamp”:“2023-08-12T22:22:02.451Z”}

18 x entries in verbose:

{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%\\lightning-services\\mailhog-1.0.0+3\\lib\\main.js","timestamp":"2023-08-12T22:22:02.049Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%\\lightning-services\\mailhog-1.0.0+3\\lib\\main.js","timestamp":"2023-08-12T22:22:02.052Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%\\lightning-services\\mariadb-10.4.10+4\\lib\\main.js","timestamp":"2023-08-12T22:22:02.053Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%\\lightning-services\\mariadb-10.4.10+4\\lib\\main.js","timestamp":"2023-08-12T22:22:02.084Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%\\lightning-services\\mysql-8.0.16+6\\lib\\main.js","timestamp":"2023-08-12T22:22:02.085Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%\\lightning-services\\mysql-8.0.16+6\\lib\\main.js","timestamp":"2023-08-12T22:22:02.116Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%\\lightning-services\\nginx-1.16.0+6\\lib\\main.js","timestamp":"2023-08-12T22:22:02.117Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%\\lightning-services\\nginx-1.16.0+6\\lib\\main.js","timestamp":"2023-08-12T22:22:02.146Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%\\lightning-services\\php-8.1.9+8\\lib\\main.js","timestamp":"2023-08-12T22:22:02.147Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%\\lightning-services\\php-8.1.9+8\\lib\\main.js","timestamp":"2023-08-12T22:22:02.177Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"productName\" specified in package.json: %%appPath%%\\node_modules\\@getflywheel\\local-components\\package.json","level":"info","timestamp":"2023-08-12T22:22:02.178Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"productName\" specified in package.json: %%appPath%%\\node_modules\\@getflywheel\\localcert\\package.json","level":"info","timestamp":"2023-08-12T22:22:02.178Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"productName\" specified in package.json: %%appPath%%\\node_modules\\@getflywheel\\localtunnel\\package.json","level":"info","timestamp":"2023-08-12T22:22:02.179Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"main\" or \"renderer\" specified in package.json: %%appPath%%\\node_modules\\@getflywheel\\replacestream\\package.json","level":"info","timestamp":"2023-08-12T22:22:02.179Z"}
{"thread":"main","name":"DeprecationWarning","code":"DEP0128","level":"info","message":"Warning:Invalid 'main' field in '%%appPath%%\\node_modules\\ssh-key-to-pem\\package.json' of 'lib/index.js'. Please either fix that or report it to the module author","stack":"DeprecationWarning: Invalid 'main' field in '%%appPath%%\\node_modules\\ssh-key-to-pem\\package.json' of 'lib/index.js'. Please either fix that or report it to the module author\n    at tryPackage (node:internal/modules/cjs/loader:371:15)\n    at Module._findPath (node:internal/modules/cjs/loader:573:18)\n    at Module._resolveFilename (node:internal/modules/cjs/loader:926:27)\n    at n._resolveFilename (node:electron/js2c/browser_init:249:1105)\n    at Module._resolveFilename (%%appPath%%\\node_modules\\module-alias\\index.js:49:29)\n    at Module._load (node:internal/modules/cjs/loader:785:27)\n    at c._load (node:electron/js2c/asar_bundle:5:13339)\n    at Module.require (node:internal/modules/cjs/loader:1012:19)\n    at require (node:internal/modules/cjs/helpers:102:18)\n    at Object.<anonymous> (%%appPath%%\\main\\capi\\SSHKeyService.js:1:670)","timestamp":"2023-08-12T22:22:02.183Z"}
{"thread":"main","class":"GraphQLService","message":"GraphQL server ready at http://127.0.0.1:4000/graphql","level":"verbose","timestamp":"2023-08-12T22:22:02.236Z"}
{"thread":"main","class":"GraphQLService","message":"GraphQL subscriptions ready at ws://127.0.0.1:4000/graphql","level":"verbose","timestamp":"2023-08-12T22:22:02.236Z"}
{"localVersion":"7.1.2+6410","osPlatform":"win32","osRelease":"10.0.19045","osArch":"ia32","windowsEdition":"Microsoft Windows 10 Pro","linuxEdition":null,"level":"warn","message":"Electron Event ready","timestamp":"2023-08-12T22:22:02.451Z"}

From verbose there is 5 error messages:

  • Add-on does not have "productName" specified in package.json: %%appPath%%\node_modules\@getflywheel\local-components\package.json
  • Add-on does not have "productName" specified in package.json: %%appPath%%\node_modules\@getflywheel\localcert\package.json
  • Add-on does not have "productName" specified in package.json: %%appPath%%\node_modules\@getflywheel\localtunnel\package.json
  • Add-on does not have "main" or "renderer" specified in package.json: %%appPath%%\node_modules\@getflywheel\replacestream\package.json
  • Warning:Invalid ‘main’ field in ‘%%appPath%%\node_modules\ssh-key-to-pem\package.json’ of 'lib/index.js

Also ran netstat -ano and there are no running services on port 80 and 443.

My workstation does support VM, so I could try creating and running a VM to try setting up local in.

I see from another support thread with local not starting and this from a Linux environment that they are getting the same errors :[main] undefined: JSON parsing failed
https://community.localwp.com/t/localwp-wont-open-after-upgrading-to-new-localwp-update/37862

Yet I ran setup for 7.1.2 on my laptop which uses windows 11 pro 64bit and it worked with no errors.

Hi @Jqaybase

Thank you for all of the details here. Can you share your full local log now including router, verbose and lighting? I’ll share all of this with our Devs.

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