How to install Yeoman with Jenkins on OpenShift?

Solution Verified - Updated -

Issue

  • How to install Yeoman on the Jenkins instance?
  • When trying to install Yeoman on jenkins instance errors are seen:
[\> npm install -g yeoman
npm ERR! Error: EACCES, mkdir '/var/lib/openshift/<ID>/.npm'
npm ERR!  { [Error: EACCES, mkdir '/var/lib/openshift/<ID>/.npm']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/var/lib/openshift/<ID>/.npm' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

Environment

  • Openshift Online

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In