0
votes

I have created a npm virtual repo in artifactory. And i can publish after i npm login.

But when i use npm install command, it will show 403 which means must npm login first.

So how to let artifactory not check the username & password for npm repository?

1

1 Answers

0
votes

Maybe off topic, but you may run npm install with JFrog CLI and it does all of the authentication for you.

This can be acheived in two steps:

  1. Configure Artifactory server: jfrog rt c rt-server-1
  2. Run npm install: jfrog rt npm-install [your-virtual-repo]