如何安装应用程序所需的多个rxjs依赖关系?

时间:2018-07-20 13:02:21

标签: angular ionic-framework npm rxjs

我正在使用需要多个依赖项的Ionic构建应用程序。当我手动安装依赖项,然后npm install时,我在终端中收到此消息

npm WARN @angular/common@6.0.9 requires a peer of rxjs@^6.0.0 but none is 
installed. You must install peer dependencies yourself.
npm WARN @angular/core@6.0.9 requires a peer of rxjs@^6.0.0 but none is 
installed. You must install peer dependencies yourself.
npm WARN @angular/forms@6.0.9 requires a peer of rxjs@^6.0.0 but none is 
installed. You must install peer dependencies yourself.
npm WARN @angular/http@6.0.9 requires a peer of rxjs@^6.0.0 but none is 
installed. You must install peer dependencies yourself.
npm WARN @ngrx/store@6.0.1 requires a peer of rxjs@^5.6.0-forward-compat.0
^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN videogular2@6.3.0 requires a peer of rxjs@^6.0.0 but none is 
installed. You must install peer dependencies yourself.

+ videogular2@6.3.0
updated 1 package and audited 12368 packages in 18.832s
found 0 vulnerabilities

这是我的package.json目前的样子 package.json(A) package.json(B)

当我手动添加要求的rxjs版本时,对于其他软件包,我一直遇到相同的错误。另外,我的rxjs全球安装版本为6.2.0,但是为了防止某些错误,显然它必须是较低的版本。但是,尽管使用--force,我仍然无法卸载此版本。

谢谢。

0 个答案:

没有答案