title: 'electron-packager' is not recognized as an internal or external command
body: <p>I recently started using electron. I have successfully completed the 1st phase by creating a hello world app (included files index.html, main.js, package.json). Now I am trying to package the app using electron-packager but getting this error</p>
  
  <p><a href="https://i.stack.imgur.com/lUUNd.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/lUUNd.jpg" alt="electron-packager error"></a></p>
  
  <p>Steps I have followed: </p>
  
  <ol>
  <li>Created a project directory named helloworld.</li>
  <li>Initialized the project directory using <code>npm init</code> command.</li>
  <li>Then installed electron using <code>npm install electron --save-dev</code>.</li>
  <li>Then created the javascript and html files as main.js and index.html respectively.</li>
  <li>Then used <code>npm start</code> to execute the application.</li>
  <li>Then installed electron-packager using <code>npm install electron-packager</code>.</li>
  <li>Now the problem is coming in this step when i am trying to pacakge the app using command <code>electron-packager .</code></li>
  </ol>