2017-04-03 1 views

Antwort

4

The next tag is used by some projects to identify the upcoming version.By default, other than latest, no tag has any special significance to npm itself.

NPM Documentation

0

Insbesondere und entsprechend der Dokumentation fand ich dies hilfreich:

By default, the latest tag is used by npm to identify the current version of a package, and npm install (without any @ or @ specifier) installs the latest tag. Typically, projects only use the "latest" tag for stable release versions, and use other tags for unstable versions such as prereleases.

The next tag is used by some projects to identify the upcoming version.

By default, other than latest, no tag has any special significance to npm itself.

So zum Beispiel, ich hatte einige Probleme selbst npm ERR Erzeugen NPM bezogen! Fehler: EACCES: Zugriff verweigert Fehler auf Paketinstallationen, dass ich zum ersten Mal nach der Rückkehr zu einer früheren Version von npm korrigiert (von 5.4.0):

npm install -g [email protected] 

Aber npm ist auch einer jener Pakete, die tut Einsatz der „nächste“ Tag in ihrer Verteilung zu nehmen, so nutzt, dass in den neuesten, aber nicht offiziell „stabile Version“, könnten Sie auch laufen:

npm install -g [email protected] 

Welche 5.5.1

Lauf installiert: npm show npm versions --json zeigt die Geschichte folgende Version eine Idee zu geben, was genau installiert wurde: [... "5.3.0", "5.4.0", "5.4.1", "5.4.2", " 5.5.0 ", " 5.5.1 " ]