错误! 404 '@reactivex/rxjs' 不在 npm 注册表中

npm ERR! 404 '@reactivex/rxjs' is not in the npm registry

从 NPM 安装此包时出现问题。尝试安装,因为它是 Angular2

的一个 dep

错误:

npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "@reactivex/rxjs@5.0.0-alpha.6"
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!)

事实证明,问题是我们将 Artifactory 用作私有 NPM 存储库。 Artifactory 不支持范围,即@reactivex vs angular。 @ 是 NPM 的新作用域功能。经过一些研究后发现某些版本的 Sonatype Nexus NPM 存储库存在相同的错误。

直接切换到 NPM,这解决了问题。

@ccit-spence 感谢您报告此问题。想让您知道该问题已在 Artifactory 4.3.3 中解决。 您随时可以从 Bintray, and this specific version here.

获取最新版本