code: public static void configureRegistry(NodeManager node, Log log, String npmRegistryUrl) {
          try {
              node.factory().getNpmRunner(node.proxy()).execute("config set registry " + npmRegistryUrl);
          } catch (TaskRunnerException e) {
              log.error("Error during the configuration of NPM registry with the url " + npmRegistryUrl + " - check log", e);
          }
      }
docs: Configures the NPM registry location.
  
  @param node           the node manager
  @param log            the logger
  @param npmRegistryUrl the registry url