Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NPM Install not working with artifactory around proxy

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 (above link) and cache using artifactory, so that I can pull locally, but it does not seem to work.

Followed these directions: http://www.jfrog.com/confluence/display/RTF/Npm+Repositories

Anyone else experience difficulties with proxy? I have seen many posts on changing config settings, but this is not what I need, I have to follow artifactory to get what I need, and I have changed my config settings accordingly to how artifactory advises, ie npm config set registry

Thanks!

like image 687
Jeremy Avatar asked Jun 30 '14 21:06

Jeremy


1 Answers

Try removing proxy and https_proxy from .npmrc and configure the Proxy settings in Artifactory

like image 121
Saumitra Roy Avatar answered Oct 25 '22 02:10

Saumitra Roy