Why 404 Errors Occur When Proxying the Bintray NPM Repository Inside Artifactory

Adi Vizgan
2020-11-18 17:26

When configuring a Bintray NPM repository as a remote repository in Artifactory, you might encounter 404 errors and not be able to pull artifacts from that repository. This happens when the download URL of an artifact has not been converted properly.

Resolution

To resolve this issue, you’ll need to add the following property to your $ARTIFACTORY_HOME/etc/artifactory.system.properties file:

artifactory.npm.alternative.download.enabled=true

You’ll need to restart Artifactory for this change to take effect.