AIO CLI Installation error | Community
Skip to main content
Level 2
January 27, 2021
Solved

AIO CLI Installation error

  • January 27, 2021
  • 2 replies
  • 3940 views

I am trying to install aio cloudmanager plugin on jenkins server. with the command 

aio plugins:install @61380/aio-cli-plugin-cloudmanager

 

Getting below error..

error An unexpected error occurred: "https://nexus.<name>.com/repository/npm-proxy/@adobe%2faio-cli-plugin-cloudmanager: Request \"https://nexus.<name>.com/repository/npm-proxy/@adobe%2faio-cli-plugin-cloudmanager\" returned a 402".

Installing plugin @61380/aio-cli-plugin-cloudmanager... failed

    Error: yarn add @61380/aio-cli-plugin-cloudmanager@latest --non-interactive 

    --mutex=file:/var/lib/jenkins/.local/share/@adobe/aio-cli/yarn.lock 

    --preferred-cache-folder=/var/lib/jenkins/.cache/@adobe/aio-cli/yarn --check-files exited with code 1

 

we are not using nexus for installing plugins. So how can i bypass nexus and install aio cloudmanger plugin.

Note : i can install same plugin with sudo user. while installing with user, not asking for nexus drive path.

 

Please help to resolve.

 

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by punit-khatri

this issue is related to npm configuration.

i run the command : npm conifg list 

metrics-registry value is mappend to nexus drive. that's why, plugin is going to download from nexus.

 

i have changed this to 

metrics-registry = "https://registry.npmjs.org/"

 

and it was working fine. you can give it a try.

2 replies

Vijayalakshmi_S
Level 10
January 28, 2021

Hi @punit-khatri,

On a high level, 402 error code on nexus request relates to licensing validation. 

But to address your concern on bypassing nexus request, could you please share the details on installed plugins in Jenkins related to Nexus and elaborate on steps you took for installing cloud manager plugin 

Level 2
January 28, 2021
Nexus sonatye already there at jenkins server. i am using the command line to install the cloud manager plugin. aio plugins:install @61380/aio-cli-plugin-cloudmanager
June 1, 2021

I am facing the same issue , adobe have any plugin to directly install the adobe cli on jenkins via manage plugin , 

if not then please share the steps to install the plugin in jenkins and how the cli can be used on later stage . 

 

January 6, 2022

did you get any update on the issue

punit-khatriAuthorAccepted solution
Level 2
January 6, 2022

this issue is related to npm configuration.

i run the command : npm conifg list 

metrics-registry value is mappend to nexus drive. that's why, plugin is going to download from nexus.

 

i have changed this to 

metrics-registry = "https://registry.npmjs.org/"

 

and it was working fine. you can give it a try.