question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

stuck on starting main process..

See original GitHub issue

Prerequisites

  • Using yarn
  • Using an up-to-date master branch
  • Using latest version of devtools. See wiki for howto update
  • Link to stacktrace in a Gist (for bugs)
  • For issue in production release, devtools output of DEBUG_PROD=true yarn build && yarn start
  • Tried solutions mentioned in #1635

Expected Behavior

Electron client won’t initiate as it should.

Identical to the issue described in #1635

Current Behavior

Starting Main Process…

electron-react-boilerplate@0.17.0 start-main-dev C:\Users\Projects\test cross-env HOT=1 NODE_ENV=development electron -r @babel/register ./app/main.dev.js

the terminal will just hang at this point

Steps to Reproduce (for bugs)

  1. Follow quickstart instructions

  2. Yarn dev

Context

I had no issues with the boilerplate few days ago and it randomly started hanging like this in the terminal. I’ve added multiple modules following the two package.json structure. When I encountered the issue for the first time I’ve cloned the project as it is and it worked out for some time but ended up with the same issue after few hours of development.

Currently not even a fresh clone of the boilerplate’s master branch initiates an electron client.

I’ve tried multiple node and yarn versions. Tried out the debugging solutions you have listed here

I’ve cloned & built the project on another system and it works fine. So the problem is in my machine (most likely due to chrome debugger on electron and breakpoints) but I couldn’t really find a fix through.

Your Environment

  • Node version : v10.13
  • Version or Branch used : Master
  • Operating System and version : Windows 10

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

4reactions
sanzhardanybayevcommented, Dec 6, 2019

Cleaning cache did not help, but removing the whole Electron directory inside AppData/Roaming & AppData/Local did help

1reaction
markjhvonkcommented, Jan 29, 2020

I tried all of the above but disabling/removing the await installExtensions(); function in the app/main.dev.js file (line 55) did the trick for me for me for now! Also sort of mentioned in this issue: #2360

You did not provide a screenshot, I don’t know if you have the same problem as me, take a look at this

#2360 (comment)

Yes, switching back to windows light mode also worked for me as mentioned in your issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to kill Windows service process stuck at starting?
2 Answers 2 · Retrieve the command line of your service from the service properties (services.msc) · Start Process Explorer · In Process...
Read more >
Fixed: Windows 10/8/7 Stuck on Loading/Boot/Startup Screen ...
Method 2. Start Windows 10/8/7 in Safe Mode ... In some cases, the "Windows stuck on loading screen" issue is caused by Windows...
Read more >
The Desktop Is Stuck in Startup - Small Business - Chron.com
The Desktop Is Stuck in Startup. Software glitches, faulty hardware or removable media connected to your computer can sometimes cause the computer to...
Read more >
[SOLVED] Computer Stuck on Boot Screen (2022) - Driver Easy
Click START REPAIR to start the repair process. Run System File Checker. 1) On your keyboard, press the Windows logo key, type command...
Read more >
Stuck on Welcome Screen, What to do? - Microsoft Community
If this problem started appearing after you installed an update, it's possible that the update is the main cause for this problem. To...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found