You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say, I have a project that requires somemodule version 1.6 and in some other branch of the dependency tree it also uses somemodule version 2.4. If no versions of somemodule are present in Artifactory, everything works fine: both versions are downloaded from npmjs.org.
However, if I npm publish version 1.6 to Artifactory (but not version 2.4), next time I try to do npm install in my project, I get an error saying that somemodule version 2.4 requirement cannot be satisfied, and my build fails.
I guess this is because metadata from Artifactory about what versions are available is not merged with that from npmjs.org, so the npm client only knows about those versions that are available on Artifactory.
The text was updated successfully, but these errors were encountered:
ahh I see, the expected behavior is effectively the fix for #18, in this case:
look up version 2.4 in artifactory, since not found, look up npmjs.org
cache the package into artifactory, send the user a copy of it
Honestly, I had thought that even if #18 is not fixed, the abstraction was still good enough. Seems like that is not true as pointed out by your this case.
I'll take a look at it in the next couple days, and I'm more than willing to accept any PR's :)
Say, I have a project that requires
somemodule
version 1.6 and in some other branch of the dependency tree it also usessomemodule
version 2.4. If no versions ofsomemodule
are present in Artifactory, everything works fine: both versions are downloaded from npmjs.org.However, if I
npm publish
version 1.6 to Artifactory (but not version 2.4), next time I try to donpm install
in my project, I get an error saying thatsomemodule
version 2.4 requirement cannot be satisfied, and my build fails.I guess this is because metadata from Artifactory about what versions are available is not merged with that from npmjs.org, so the npm client only knows about those versions that are available on Artifactory.
The text was updated successfully, but these errors were encountered: