Just a plain Hello World application using electron-prebuilt is set up.
I run it by npm start
command.
Window shows up as expected normally. However it is getting closed on it's own after some time.
In command prompt it is throwing the following warnings before window is getting closed:
WARNING:raw_channel_win.cc(473)] WriteFile: The pipe is being closed. (0xE8)
WARNING:channel.cc(549)] Failed to send message to ack remove remote endpoint (local ID 1, remote ID 1)
WARNING:channel.cc(315)] RawChannel write error
What is causing this issue?
npm version is 1.4.10 & node (via io.js) version is 0.11.13 (Windows 7 x64)
As @Oztaco stated, in the QuickStart Guide it has the following code sample: