Hello Im trying out Artifactory Enterprise 4.1.2 rev 40017. Im having issues in installing a published private npm library via a virtual repo url.
Here is my setup: 1. I have a local (private) repo - my-local-repo and a remote repo pointing to http://registry.npmjs.org (npm-public) 2. I have a virtual repo npm-virtual (which contains both private and publich repositories) 3. I published $my-lib using npm publish --registry /api/npm/my-local-repo 4. I see the library in /artifactory/npm-virtual/my-lib/~/my-lib-0.0.1.tgz 5. I also see the json in /artifactory/api/npm/my-local-repo/my-lib Issue #1: 1. My npmrc points to /artifactory/npm-virtual 2. My application references my-lib in package.json 3. When I do npm install within my application, I get 406 error: npm ERR! code E406 npm ERR! Registry returned 406 for GET on /artifactory/npm-virtual/my-lib So I changed my npmrc to point to my-local-repo: Issue #2: 1. My npmrc points to /artifactory/api/npm/my-local-repo 2. Now I can install my-lib, but my application wont install any other public libs like lodash etc. (I get 404) What am I missing ? Any pointeres appreciated . Thanks in Advanced! -- View this message in context: http://forums.jfrog.org/npm-Unable-to-install-private-library-via-virtual-repo-url-tp7580582.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Artifactory-users mailing list Artifactory-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/artifactory-users