I upgraded to Artifactory 4.2.2 and I am able to publish to npm-virtual. 

But after publishing I am unable to "npm install" the package back again.

Browsing my /artifactory/npm-virtual has the public npm repositores in the
form of a json file (which is same name as the npm package) and a .md5 and
.sha1.

For eg, abbrev (which is a json file), abbrev.md5 and abbrev.sha1


But my-lib does not have such a json file entry.

Instead it has a my-lib directory, within which ~/my-lib.tgz, .md5 and .sha1
are present.

When I do npm install my-lib from my terminal, it appears to look for a json
file with my-lib name which is not being found. So it returns 406.


How do I publish correctly to a virtual repository so that my-lib appears in
the npm-virtual ?








--
View this message in context: 
http://forums.jfrog.org/npm-Unable-to-install-private-library-via-virtual-repo-url-tp7580582p7580604.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to