title: build fails with 'npm' is not recognized as an internal or external command
body: <blockquote>
    <p>2018-05-16T10:17:54.9953258Z 'npm' is not recognized as an internal
    or external command.</p>
    
    <p>2018-05-16T10:17:54.9962710Z   operable program or batch file. </p>
    
    <p>2018-05-16T10:17:54.9983767Z  C:\Agents\agent\projectsource: error
    MSB3073: The command "npm install" exited with code 9009.</p>
  </blockquote>
  
  <p>trying to figure out this issue but didn't find any information on it except this <a href="https://social.msdn.microsoft.com/Forums/en-US/2b31e798-e021-4d2b-a1f9-2d682db3a93c/buildcmd-fails-with-npm-is-not-recognized-as-an-internal-or-external-command?forum=windowsazuredevelopment" rel="nofollow noreferrer">Question in MS community</a></p>
  
  <p>environment:</p>
  
  <p>Asp net core 2.0 with angular 5 template. </p>