title: npm install complains 'node' is not recognized as an internal or external command while node is in the path
body: <p>I have am doing Jenkins build now, but at some point of doing "npm install" I got a error message saying "'node' is not recognized as an internal or external command, operable program or batch file." However, I do have node in my path and I have verify that but doing "where node" before npm install.</p>
  
  <p>Both "where node" and "npm install" are located in the same Execute Windows batch command section of my Jenkins job.</p>
  
  <p>I have read some posts. Sometimes this error is encountered for not handling the spaces inside the path correct. I do not have space in my path.</p>
  
  <p>I also do not have convenient access to the machine for the build environment. I can only try Jenkins' Execute Windows batch command.</p>
  
  <p>below is my build log inlcuding the error message.</p>
  
  <pre><code>npm install 
  14:48:56 npm WARN deprecated ng2-bootstrap@1.6.3: ng2-bootstrap is renamed to ngx-bootstrap, please do npm i ngx-bootstrap -S
  14:48:57 npm WARN deprecated hapi@13.5.3: This version is no longer maintained. Please upgrade to the latest version of the framework.
  14:48:58 npm WARN deprecated gulp-util@3.0.7: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
  14:48:59 npm WARN deprecated joi@8.1.1: This version is no longer maintained. Please upgrade to the latest version.
  14:48:59 npm WARN deprecated joi@10.6.0: This version is no longer maintained. Please upgrade to the latest version.
  14:48:59 npm WARN deprecated boom@3.2.2: This version is no longer maintained. Please upgrade to the latest version.
  14:48:59 npm WARN deprecated joi@8.4.2: This version is no longer maintained. Please upgrade to the latest version.
  14:48:59 npm WARN deprecated call@3.0.4: This version is no longer maintained. Please upgrade to the latest version.
  14:48:59 npm WARN deprecated kilt@2.0.2: This module is no longer maintained.
  14:48:59 npm WARN deprecated hoek@3.0.4: This version is no longer maintained. Please upgrade to the latest version.
  14:48:59 npm WARN deprecated peekaboo@2.0.2: This module is no longer maintained.
  14:48:59 npm WARN deprecated statehood@4.1.0: This version is no longer maintained. Please upgrade to the latest version.
  14:48:59 npm WARN deprecated subtext@4.4.1: This version is no longer maintained. Please upgrade to the latest version.
  14:48:59 npm WARN deprecated fast-safe-stringify@1.0.9: use 1.1.0+ see https://github.com/davidmarkclements/fast-safe-stringify/issues/4
  14:48:59 npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist &gt;3.0 config used in other tools.
  14:49:00 npm WARN deprecated boom@4.3.1: This version is no longer maintained. Please upgrade to the latest version.
  14:49:00 npm WARN deprecated joi@9.2.0: This version is no longer maintained. Please upgrade to the latest version.
  14:49:05 npm WARN deprecated boom@3.2.0: This version is no longer maintained. Please upgrade to the latest version.
  14:49:05 npm WARN deprecated call@3.0.2: This version is no longer maintained. Please upgrade to the latest version.
  14:49:05 npm WARN deprecated joi@8.1.0: This version is no longer maintained. Please upgrade to the latest version.
  14:49:05 npm WARN deprecated kilt@2.0.1: This module is no longer maintained.
  14:49:05 npm WARN deprecated peekaboo@2.0.1: This module is no longer maintained.
  14:49:05 npm WARN deprecated statehood@4.0.1: This version is no longer maintained. Please upgrade to the latest version.
  14:49:05 npm WARN deprecated subtext@4.0.3: This version is no longer maintained. Please upgrade to the latest version.
  14:49:05 npm WARN deprecated wreck@7.2.1: This version is no longer maintained. Please upgrade to the latest version.
  14:55:08 
  14:55:08 &gt; node-sass@4.5.3 install F:\JENKINS-SLAVE\workspace\some_appcode\jenkins_job_code\app_folder\node_modules\node-sass
  14:55:08 &gt; node scripts/install.js
  14:55:08 
  14:55:08 'node' is not recognized as an internal or external command,
  14:55:08 operable program or batch file.
  </code></pre>