title: Deploying Angular 4 app
body: <p>am using <a href="https://www.youtube.com/watch?v=nxV3weqMzYo" rel="noreferrer">https://www.youtube.com/watch?v=nxV3weqMzYo</a> this video for deploying my angular 2 app in live but its gives below error </p>
  
  <pre><code>D:\selva\backup\ticketing&gt;ngh
  An error occurred!
   Error: Unspecified error (run without silent option for detail)
      at C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli-ghpages\node_
  modules\gh-pages\lib\index.js:232:19
      at _rejected (C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli-gh
  pages\node_modules\q\q.js:844:24)
      at C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli-ghpages\node_
  modules\q\q.js:870:30
      at Promise.when (C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli
  -ghpages\node_modules\q\q.js:1122:31)
      at Promise.promise.promiseDispatch (C:\Users\selva\AppData\Roaming\npm\node_
  modules\angular-cli-ghpages\node_modules\q\q.js:788:41)
      at C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli-ghpages\node_
  modules\q\q.js:604:44
      at runSingle (C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli-gh
  pages\node_modules\q\q.js:137:13)
      at flush (C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli-ghpage
  s\node_modules\q\q.js:125:13)
      at _combinedTickCallback (internal/process/next_tick.js:73:7)
      at process._tickCallback (internal/process/next_tick.js:104:9)
  </code></pre>
  
  <p>please help me to rectify this error</p>
  
  <p><strong>expected behavior</strong>: deploying ticketing project to github pages</p>
  
  <p>steps which i did</p>
  
  <p>step 1: ng-build --prod  </p>
  
  <p>step 2: pushed all files to github including node_modules and dist folder</p>
  
  <p>Here i have cleared all data's in ".gitignore" file to upload all project data to github account (including node_modules and dist folder)</p>
  
  <p>step 3: ng-build --prod --base-href  <a href="https://selva1990kumar.github.io/ticketing/" rel="noreferrer">https://selva1990kumar.github.io/ticketing/</a></p>
  
  <p>step 4:ngh</p>
  
  <p>IT PRODUCE THIS ERROR</p>
  
  <pre><code>An error occurred!
   Error: Unspecified error (run without silent option for detail)
      at C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli-ghpages\node_
  modules\gh-pages\lib\index.js:232:19
      at _rejected (C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli-gh
  pages\node_modules\q\q.js:844:24)
      at C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli-ghpages\node_
  modules\q\q.js:870:30
      at Promise.when (C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli
  -ghpages\node_modules\q\q.js:1122:31)
      at Promise.promise.promiseDispatch (C:\Users\selva\AppData\Roaming\npm\node_
  modules\angular-cli-ghpages\node_modules\q\q.js:788:41)
      at C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli-ghpages\node_
  modules\q\q.js:604:44
      at runSingle (C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli-gh
  pages\node_modules\q\q.js:137:13)
      at flush (C:\Users\selva\AppData\Roaming\npm\node_modules\angular-cli-ghpage
  s\node_modules\q\q.js:125:13)
      at _combinedTickCallback (internal/process/next_tick.js:73:7)
      at process._tickCallback (internal/process/next_tick.js:104:9)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/EX7OM.png" rel="noreferrer"><img src="https://i.stack.imgur.com/EX7OM.png" alt="enter image description here"></a></p>