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
npm version: 3.10.10 Scenario: I uploaded a jar to my private npm repo with version 1.2.0. Now for some reason, I added a new jar with version 1.1.0.
My package.json has a dependency "XYZ": "latest". But it downloads 1.1.0? Is this a bug or I am doing something not right? I was expecting it to download 1.2.0 always.
The text was updated successfully, but these errors were encountered:
MadhuriGurumurthy11
changed the title
Package.json with dependencies "lates" does not download latest
Package.json with dependencies "latest" does not download latest
Apr 24, 2020
"latest" is a dist-tag; a version has to be explicitly set to it. When backporting (as you've done), it's easy to accidentally set the older version as "latest".
npm version: 3.10.10
Scenario: I uploaded a jar to my private npm repo with version 1.2.0. Now for some reason, I added a new jar with version 1.1.0.
My package.json has a dependency "XYZ": "latest". But it downloads 1.1.0? Is this a bug or I am doing something not right? I was expecting it to download 1.2.0 always.
The text was updated successfully, but these errors were encountered: