Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34815

NodeJS plugin unable to install global NPM packages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • nodejs-plugin
    • None
    • Official Jenkins Docker - version 2.3 (Alpine)

      Plugins:
       - NodeJS 0.2.1
       - Pipeline 2.1

      Browser: Chrome 50.0.2661

      Added NodeJS Tool 6.1.0 as "Install from nodejs.org"

      When attempting to add the tool to a pipeline with automatic installation of NPM modules the following error occurred:

      Unpacking https://nodejs.org/dist/v6.1.0/node-v6.1.0-linux-x64.tar.gz to /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node-6.1.0 on Jenkins
      $ /var/jenkins_home/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/node-6.1.0/bin/npm install -g grunt-cli bower
      env: can't execute 'node': No such file or directory

            Unassigned Unassigned
            wwhurley William Hurley
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: