Skip to content

[BUG]: Config file not found. File name: '.npmrc' vsts-npm-auth #20913

Open
@rajib2github

Description

@rajib2github

New issue checklist

Task name

Command line

Task version

v0.43.0.0

Issue Description

Config file not found. File name: '.npmrc' vsts-npm-auth. Below command executed:

vsts-npm-auth -config .npmrc -targetconfig c:\Users\rajib.npmrc

it always return me the error :

vsts-npm-auth v0.43.0.0

Config file not found. File name: '.npmrc'

.npmrc file present in c:\Users\rajib.npmrc

Before that i installed it globally:

npm install -g vsts-npm-auth --registry https://registry.npmjs.com/ --always-auth false

Please help.

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

Windows 11

Relevant log output

vsts-npm-auth v0.43.0.0
-----------------------
Config file not found. File name: '.npmrc'

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions