Setting up username and password for npm registry URL
问题 I am trying to use npm to install a package from url : http://host:80 I did the following: npm config set strict-ssl false npm config set registry "<>" npm --proxy http://host:port install <> (our proxy does not require authentication) When I tired to run above install package command it throws npm ERR! code E401 npm ERR! 401 Authorization Required: @latest When I should I set the username and pwd for registry url.I googled and found that registry url and details are part of .npmrc file.