2015-12-06 55 views
4

從NPM安裝此軟件包的問題。嘗試,因爲它的安裝是Angular2npm ERR! 404'@ reactivex/rxjs'不在npm註冊表中

的DEP

錯誤:

npm ERR! Darwin 15.0.0 
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "@reactivex/[email protected]" 
npm ERR! node v4.2.3 
npm ERR! npm v2.14.7 
npm ERR! code E404 

npm ERR! 404 Not Found: @reactivex/rxjs 
npm ERR! 404 
npm ERR! 404 '@reactivex/rxjs' is not in the npm registry. 
npm ERR! 404 You should bug the author to publish it (or use the name yourself!) 

回答

3

因爲它原來的問題是,我們使用Artifactory的作爲私人NPM庫。 Artifactory不支持Scopes,即@reactivex vs angular。 @是NPM的新範圍功能。經過一些研究發現,與某些版本的Sonatype Nexus NPM存儲庫相同的錯誤。

直接切換到NPM,這解決了這個問題。

1

@ ccit-spence感謝您報告此問題。希望讓你知道Artifactory 4.3.3中的問題已經解決。 您可以隨時從Bintray獲取最新版本,此特定版本here

+0

此更新是否被推送到Artifactory在線? – code

+1

當然,Artifactory Online服務器已更新。 如果您有任何其他問題,請不要猶豫與我們的支持團隊聯繫。 – Zanbel