Andy Wooller
Andy Wooller

Reputation: 3

JFrog CLI and Artifactory Cloud NPM repository

When I run the npm install command with the JFrog CLI and my Artifactory Cloud installation, I get the following error

$ jfrog rt npm-install npm
[Info] Running npm Install.
[Error] This operation requires Artifactory version 5.5.2 or higher.

When I configured the CLI I do so with the URL i use to access artifactory cloud.

https://companyName.jfrog.io/companyName

I've checked the version of my cloud installation and its higher than the required version.

   artifactory.version  |  5.10.1

Note: I can access the NPM repository when using basic auth but require the jfrog CLI for the CI builds.

Can anyone shed some light? Has anyone else experienced this?

Upvotes: 0

Views: 707

Answers (1)

Ariel Kabov
Ariel Kabov

Reputation: 866

As the CLI NPM capabilities require Artifactory 5.5.2 and above, there is a validation mechanism of the version. Due to a change in Artifactory, this validation currently fails, starting with Artifactory 5.10 and above.

This should be fixed within the next release of the JFrog CLI. Thank you for the understanding.

Upvotes: 1

Related Questions