Skip to content

[Question]: npmAuthenciate adding parameter to .npmrc that is deprecated #21594

@gavintoddchurch

Description

@gavintoddchurch

Task name

npmAuthenticate & npm

Task version

@0 | @1

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu 24.x

Question

npmAuthenciate and npm tasks when using customEndpoint are adding


//<registry>:always-auth=true


This is causing a warning in newer versions of npm


npm warn Unknown project config "always-auth" (//<registry>:always-auth). This will stop working in the next major version of npm.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions