title: You have to be inside an angular-cli project in order to use the build command after reinstall of angular-cli
body: <p>I had the latest angular-cli installed globally and my project was building successfully.  </p>
  
  <p>While reading a suggested solution for another issue, (<a href="https://github.com/angular/angular-cli/issues/917" rel="noreferrer">https://github.com/angular/angular-cli/issues/917</a>) I uninstalled the  global angular-cli and installed it as a dev-dependency.  </p>
  
  <p>That other issue wasn't solved so I uninstalled the dev-dependency and reinstalled angular-cli globally once again. 
  Now when I try to do an <strong>ng build</strong> I'm getting the error:  </p>
  
  <p><em>You have to be inside an angular-cli project in order to use the build command</em>  </p>
  
  <p>My angular-cli version did not change. Why isn't my project being recognised as an angular-cli project??</p>