how to install electron on windows 10
<p>I am trying to install electron on windows 10 but  not working.
My environment is Windows 10, x64, 16gb ram.
I have install updated version of nodeJS and npm .</p>

<p>My application root folder directory is <strong><em>c:\nodeP\app1</em></strong>
and I tried following commands on the cmd</p>

<ol>
<li>cd\</li>
<li>cd nodeP</li>
<li>cd app1</li>
<li>npm init</li>
<li>npm install electron-prebuilt --save dev </li>
<li>npm start</li>
</ol>

<p><strong>main.js file</strong></p>

<pre><code>var app = require('app');
var BrowserWindow = require('browser-window');

app.on('ready', function () {
  var mainWindow = new BrowserWindow({
    width : 500,
    height : 200
  });
});
</code></pre>

<p>But when I run the app it show me the error like this image.</p>

<p><a href="https://i.stack.imgur.com/yJTLI.png" rel="nofollow noreferrer">image</a></p>

<p>I could not find any solution in the internet which could guide me for windows 10. I found all tutorials for MAC and Linux. </p>

<p>I need to know if this electron app is only for these platforms or not. If it supports windows 10 please help me.</p>