title: Deploying Angular app in Azure and configuring CI/CD using VSTS
body: <p>I'm learning to deploy an Angular app in Azure and configuring CI/CD using VSTS.</p>
  
  <p>So, I created AngularHeroes app based on <a href="https://angular.io/tutorial" rel="nofollow noreferrer">this</a> tutorial.</p>
  
  <p>Created a new resource (Web App service) in Azure.</p>
  
  <p>In VSTS, created a new project, added a VSTS repository and cloned it to local to push the angular app code. For setting up CI/CD I followed <a href="https://blogs.msdn.microsoft.com/wael-kdouh/2017/09/11/deploying-your-angular-application-to-azure-using-visual-studio-team-services-vsts/" rel="nofollow noreferrer">this msdn</a> article. And queued the build definition but it got failed with the following error, "npm failed with return code 4294963238".
  So, I checked <a href="https://github.com/Microsoft/vsts-tasks/issues/6657" rel="nofollow noreferrer">this git</a> article.</p>
  
  <p>Also, I configured azure app's Deployment Options with this VSTS project.
  And pushed the code from local to VSTS repo and try to run the build again but got the same error. </p>
  
  <p>So, I'm stuck and figuring out the missing pieces. Please let me know what's wrong here...</p>
  
  <p>I have also attached screenshots for configuring <a href="https://i.stack.imgur.com/bzb0t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bzb0t.png" alt="Publish artifacts"></a>, <a href="https://i.stack.imgur.com/haoT4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/haoT4.png" alt="Build definiton"></a> and <a href="https://i.stack.imgur.com/oLBO3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oLBO3.png" alt="Release definition"></a>, for more understanding about configuration.</p>