Azure Dev-ops E401 Authentication Error

Copper Contributor

locally when this happens I run vsts-npm-auth -F -C .npmrc to remedy this, but since there is no .npmrc file I am assuming there needs to be something else that happens to fix this? 

 

We are on the build server and everything seems to be in order.  Any suggestions as to how to resolve this?

 

npm verb argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "ci" "--no-audit"npm verb node v14.18.0npm verb npm  v7.5.6npm ERR! code E401npm ERR! Unable to authenticate, your authentication token seems to be invalid.npm ERR! To correct this please trying logging in again with:npm ERR!     npm loginnpm verb exit 1
0 Replies