Npm E401 and CERT_NOT_YET_VALID
January 11, 2022 - 4 mins read time - 651 words - garrardkitchen
Today a PR Merge resulted in a GHA failure. Sadly, this is not the only CICD pipeline to fail this year! This particular pipeline builds a NodeJS Image, pushes the image to ACR and deploys the service to a production Docker Swarm (on merge to main). This was the error: [3/7] RUN npm install: #7 1.469 npm ERR! code E401 #7 1.470 npm ERR! Unable to authenticate, need: Bearer authorization_uri=https://login.windows.net/736f9f**-09-49-86**-b******31f407, Basic realm=“https://pkgsprodsu3weu. ...