title: Angular 6 - Deploy Angular 6 to Github Pages error
body: <p>I want to deploy my angular project in github. </p>
  
  <p>I get this error: </p>
  
  <p><a href="https://i.stack.imgur.com/g8YBy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g8YBy.png" alt="enter image description here"></a></p>
  
  <p>I try to build in dist directly but nothing. 
  any help will be approciated </p>
  
  <p>****Edit: </p>
  
  <p>I try run git remote set-url.. and ngh --no-silent</p>
  
  <p>currently I get this: </p>
  
  <p><a href="https://i.stack.imgur.com/mVsTu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mVsTu.png" alt="enter image description here"></a></p>
  
  <p>I guess it's related to dist folder according this line:</p>
  
  <pre><code>'C:\\Users\\user\\Desktop\\Yaffa\\todo-list\\dist\\index.html'
  </code></pre>
  
  <p>but I ran <code>ngh --dir=dist/todo-list</code><br>
  and in <code>angular.json</code> file have:             <code>"outputPath": "dist/todo-list",</code></p>
  
  <p>so I could't understant what wrong </p>