2017-04-03 9 views

Odpowiedz

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

szczególności, i zgodnie z dokumentacją znalazłem to pomocne:

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.

Tak więc, na przykład, miałem pewne problemy związane z NPM Sam generowania npm ERR! Błąd: EACCES: Permission denied błędy w instalacji pakietów, że po raz pierwszy rozwiązany przez powrót do wcześniejszej wersji KMP (od 5.4.0):

npm install -g [email protected] 

Ale KMP jest również jednym z tych pakietów, które robi korzystania „Dalej” tag w ich dystrybucji, tak aby wykorzystać to w najnowszym ale nie oficjalnie „stabilna wersja”, można również uruchomić:

npm install -g [email protected] 

które zainstalowany 5.5.1

Bieg: npm show npm versions --json pokazuje następującą historię wersji, aby dać pojęcie, co dokładnie zostało zainstalowane: [... "5.3.0", "5.4.0", "5.4.1", "5.4.2", " 5,5.0 ", " 5.5.1 " ]

Powiązane problemy