Artifactory Npm Index

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Artifactory Npm Index

I have a setup where teams are publishing npm packages to Artifactory.  Other teams consume these npm packages via a proxy set up in Nexus.

I had an issue where:

- a user published a new npm package to Artifactory
- a user tried to consume this package via Nexus and got the following error:

npm ERR! No compatible version found: ui-dropdown@0.2.3
npm ERR! Valid install targets:
npm ERR! 0.2.2, 0.2.1, 0.2.0, 0.1.8, 0.1.7, 0.1.6, 0.1.5, 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0

- I logged into Artifactory and submitted the 'Recalculated Index' button
- the user was able to consume the package


- Why does Artifactory not recalculate this index on the fly, especially after a new package has been published?
- Is there any way to automate the recalculation of the index?  I couldn't find anything in the UI.
- Is there any documentation available for indexing in Artifactory?  I couldn't find any.