jschr/electron-react-redux-boilerplate

Run Develop never starts

ImBeCiliC opened this issue ยท 12 comments

Somehow after following the starting guide the gulp develop is stuck on the startin 'watch-main-scripts', 'watch-renderer-scripts' and 'watch-html'.

Some bug? or did i miss something from the setup

It's not stuck, it's watching scripts. Electron should launch prior to that and you should see the browser window appear. What OS do you run it on?

I also have the same problem. Running in Windows10. Running on Linux works perfectly.

Alright, can you guys do the following:

  1. Run npx gulp build
  2. Run npx electron .

See how far it gets and post your findings.

npx build completed but hangs on npx electron .

Capture

It's possible that this issue is related to electron/electron#19468? Nothing this boilerplate can fix if Electron hangs.

ah...Thanks. I think that might be it. My windows is running in Dark Mode.

Thanks for the quick solving of issues and research. You saved me a lot of hassle.

I'll leave this issue open for now, we'll update the Electron as soon as the patch is out.

Thanks for pointing it towards the window 10 issue. Digged around with my colleagues for a few hours yesterday. Checked different versions of Node and watched through the gulp setups but it was just not running on my device using the dark mode, but we didn't came to that conclusion.

So BIG THANKS for pointing towards this issue and your support.

I also realized that the my conclusion about the watchers beeing stuck is totally false after posting so I learned my lesson to dig deeper before posting a git issue ๐Ÿ˜„

Happy coding and awesome boilerplate!

I can confirm that I'm also seeing the same issue on Win10 running dark mode. As soon as I switched to Light mode, npm run develop ran successfully.

Problem has been fixed with the release of Electron v8.1.1.

Runs successfully on Win10 in Dark Mode

Great, thank you for the update @roscoevanderboom! I will upgrade my electron today.

jschr commented

Thanks all for looking into it. This boilerplate was updated to Electron 8.2.2 in #94 so this should be fixed now.