title: Disable Npm warnings as Errors: build definition tfs
body: <p>I am getting npm warnings as errors during build using build definition.
  <a href="https://i.stack.imgur.com/HVR3m.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HVR3m.png" alt="enter image description here"></a></p>
  
  <p>I then added following property in <strong>MSBuild Arguments</strong> in <strong>Build Definition</strong>:</p>
  
  <pre><code>/p:TreatWarningsAsErrors=False
  </code></pre>
  
  <p>but it is not working yet.</p>
  
  <p>I also cross-checked by right-clicking each project and none of them has the option "Treat Warnings as Errors" checked.</p>
  
  <p>I am calling <strong>npm install</strong> command from post-build script.</p>
  
  <p>I also restarted build controller and build agent after changes that I tried but no success.</p>
  
  <p>Any help in this direction is appreciated.</p>