So basically I am trying to download packages from https://registry.npmjs.org/ using npm install, but I am under a proxy.
I have set-up a remote repository that will hit
Along with above answer,Please ensure that following option has been added to properties file.
$ARTIFACTORY_HOME/tomcat/conf/catalina.properties file (for Artifactory 4.x) or %ARTIFACTORY_HOME%\etc\artifactory.system.properties for Artifactory 3.x.
org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true