npm

Authenticate to private JFrog npm registry

This always gets me, npm publish fails to authenticate: npm ERR! code E401 npm ERR! Unable to authenticate, need: Basic realm="Artifactory Realm" npm ERR! A complete log of this run can be found in: npm ERR! /Users/rad/.npm/_logs/...Z-debug.log The solution is: Sign-in to JFrog. Find Edit profile under the Welcome, ... menu. Put JFrog password in and unlock. Copy the encrypted password. Issue a curl request like this: curl -u ${JFROG_USER}:${JFROG_ENCRYPTED_PASSWORD} https://${JFROG_ORG}.
Read more