Seems to be not working on Windows
See original GitHub issueHi Alex,
I’m trying to print a message in a main process. I’ve started with a very (very) basic sample - cloned https://github.com/electron/electron-quick-start
, put console.log and run electron .
- nothing showing.
Then I installed your module, added log.warn
and run electron .
- same result, no console output (besides file output is present).
Am I doing something completely wrong, or may it’s not possible at all to show console logs from main.js
on Windows?
My environment:
electron 1.6.11
node 6.10.1
windows server 2012R2 (can be considered as Windows 10)
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Windows not working properly anymore
Hi guys, I have a problem with windows 10 on my laptop that started a few weeks back and until now I have...
Read more >17 most common Windows 10 problems and how to fix them
1. Can't upgrade from Windows 7 or Windows 8 · 2. Can't upgrade to the latest Windows 10 version · 3. You have...
Read more >Why Does My Computer Not Work?
See the steps below for all power-related troubleshooting steps. Why won't my computer turn on?
Read more >Why Windows 10 Becomes Unresponsive & How to Fix It?
Open System Settings and follow Apps > Apps & features. · Choose the application which seems to be causing the problem with your...
Read more >Audio Not Working in Windows 10? 9 Ways to Fix Sound ...
Suffering from a problem where the audio is not working on your Windows 10 PC? It's quite frustrating to have no sound on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, I was able to make it work by running
node_modules\electron\dist\electron.exe full/path/to/main.js
As far as I understand when running just
electron main.js
it spawns the process thus making communication between input\output impossible (at least on windows).electron main.js --enable-logging
also doesn’t produce any output. Only approach with full path to electron executable works for me.Did you solve the problem? I can also recommend to try:
If nothing works than try to check if a simple node (not electron) script can write to console correctly