title: gh-pages failing while trying to deploy Reactjs app to GitHub in windows 10
body: <p>I tried following the exact instructions listed in the react documentation on how to deploy a working app to github pages.  When I ran <strong><code>npm run deploy</code></strong>. It kept failing at the <code>gh-pages -d build</code> saying that the 'gh-pages' is not an internal or external command. I made sure I had the latest versions of node and npm installed</p>
  
  <p>I had installed <code>gh-pages</code> using the <code>-g</code> tag to make it globally available.  Tried adding to the system path variable leading to the node modules folder where i knew gh-pages was loaded. Still nothing.</p>
  
  <p>Finally i tried running it from the git bash window instead of the cmd terminal. This hadn't occurred to me at first as all of the other npm commands worked.  Don't know why this fixed things but it did. Just posting this so somebody else might be spared the pain</p>