Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/image/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angularjs npm错误!404'@reactivex/rxjs';不在npm注册表中_Angularjs_Npm_Webpack_Nexus_Artifactory - Fatal编程技术网

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

Angularjs npm错误!404'@reactivex/rxjs';不在npm注册表中,angularjs,npm,webpack,nexus,artifactory,Angularjs,Npm,Webpack,Nexus,Artifactory,从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 Foun

从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与angular。
@
是NPM的新范围界定功能。经过一点研究,在Sonatype Nexus NPM存储库的某些版本中发现了相同的错误


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

@ccit spence感谢您报告此问题。想让您知道问题已在Artifactory 4.3.3中解决。
您始终可以从中获取最新版本以及此特定版本。

当然,Artifactory Online服务器已经更新。如果您有任何其他问题,请随时联系我们的支持团队。