nexus repo npm install ERRORCONNRESET

  docker, kubernetes-ingress, nexus, node.js, npm

I wanted to install npm packages from nexus repository in docker container. to do that I have done some poc on local machine. I want to change default registry of npmjs.org to nexus private URL. So to do that I have checked that if I download package locally pacakge-name.tgz file and do npm install then it works pacakge install successfully in project folder. for e.g (npm install local path to .tgz file). but if I provide URL of nexus repo package(http://package-url.tgz) then it doesn’t work and show ERRORCONNRESET. I need help on this so that I can achieve node_modules installtion of package.json file through private installation in kubernetes ingress/egress.

Source: Docker Questions

LEAVE A COMMENT