title: npm not found error in jenkins pipeline job
body: <p>I have a pipeline job, where I give npm install. The script goes like :</p>
  
  <pre><code>node {
      stage('Configure repo') {
          sh 'npm install'
      }
  }
  </code></pre>
  
  <p>I am getting error</p>
  
  <pre><code>/mnt/jenkins/workspace/project/proj/dura/script.sh: 2: /mnt/jenkins/workspace/project/proj/dura/script.sh: /usr/local/npm: not found
  </code></pre>
  
  <p>Even I tried giving <code>sh '/usr/local/npm install'</code> But still the same.</p>
  
  <p>Please help</p>