2017-04-03 53 views

cevap

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

Özellikle, ve belgelere göre bu yararlı bulundu:

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.

Dolayısıyla, örneğin, ben kendisini ERR npm üreten NPM ile ilgili bazı sorunlar vardı! Hata: EACCES: paket yüklemelerinde izni reddedildi hataları, ben ilk (5.4.0 itibaren) NPM önceki bir sürümüne geri dönerek düzeltilebilir olun:

npm install -g [email protected] 

Ama npm da kullanımını yaptığı bu paketleri biridir dağılımlarında "sonraki" etiketi, böylece en yeni o yararlanmak değil resmen "kararlı sürüm", ayrıca çalıştırabilir:

yüklü
npm install -g [email protected] 

5.5.1

Koşu: [... "5.3.0", "5.4.0", "5.4.1", "5.4.2", ":tam yüklü ne bir fikir vermek için aşağıdaki sürüm geçmişini gösterir 5.5.0 ", " 5.5.1 " ]