Build step fails when using exact syntax as the NodeJS plugin wiki page at https://plugins.jenkins.io/nodejs

      tools {
       nodejs 'name'
       }
      

      sh 'npm install' is called the output from Jenkins the result is:

       + npm install 
       env: 'node': No such file or directory 
       script returned exit code 127
      

      Docker exec on npm produces the exact same error:

       /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node/bin/npm
       env: 'node': No such file or directory
      

          [JENKINS-43593] NPM unable to locate node binary

          Dan Woytowich created issue -
          Dan Woytowich made changes -
          Description Original: Build step fails when using exact syntax as the NodeJS plugin wiki page at [https://plugins.jenkins.io/nodejs]

          tools \{
           nodejs 'version_name'
           }

          sh 'npm install' is called the output from Jenkins the result is:
           + npm install
           env: 'node': No such file or directory
           script returned exit code 127
            
           Docker exec on npm produces the exact same error:
           /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node/bin/npm
           env: 'node': No such file or directory
            
          New: Build step fails when using exact syntax as the NodeJS plugin wiki page at [https://plugins.jenkins.io/nodejs]

          tools \{
           nodejs 'name'
           }

          sh 'npm install' is called the output from Jenkins the result is:
           + npm install
           env: 'node': No such file or directory
           script returned exit code 127
            
           Docker exec on npm produces the exact same error:
           /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node/bin/npm
           env: 'node': No such file or directory
            
          Nikolas Falco made changes -
          Link New: This issue duplicates JENKINS-27170 [ JENKINS-27170 ]
          Nikolas Falco made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Nikolas Falco made changes -
          Link New: This issue depends on JENKINS-26583 [ JENKINS-26583 ]
          Nikolas Falco made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Nikolas Falco made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]
          Nikolas Falco made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Nikolas Falco made changes -
          Description Original: Build step fails when using exact syntax as the NodeJS plugin wiki page at [https://plugins.jenkins.io/nodejs]

          tools \{
           nodejs 'name'
           }

          sh 'npm install' is called the output from Jenkins the result is:
           + npm install
           env: 'node': No such file or directory
           script returned exit code 127
            
           Docker exec on npm produces the exact same error:
           /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node/bin/npm
           env: 'node': No such file or directory
            
          New: Build step fails when using exact syntax as the NodeJS plugin wiki page at [https://plugins.jenkins.io/nodejs]
          {code}
          tools {
           nodejs 'name'
           }
          {code}

          sh 'npm install' is called the output from Jenkins the result is:
          {code}
           + npm install
           env: 'node': No such file or directory
           script returned exit code 127
          {code}

           Docker exec on npm produces the exact same error:
          {noformat}
           /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node/bin/npm
           env: 'node': No such file or directory
          {noformat}
          Nikolas Falco made changes -
          Link New: This issue is duplicated by JENKINS-44091 [ JENKINS-44091 ]
          Marc Smith made changes -
          Resolution Original: Duplicate [ 3 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]

            nfalco Nikolas Falco
            whytoe Dan Woytowich
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: