2017-05-05 58 views
4

我想当我试图从角2.4.0升级到角4,我发现有如下的同行依赖错误,不支持:NG2,日期选择器+在角4

尝试安装最新的日期选择器:

npm install ng2-datepicker –save 

了以下错误:

npm WARN [email protected] requires a peer of @angular/[email protected]^2.4.0 but none 
was installed. 

尝试安装最新提示:

npm install ngx-tooltip –save 

了以下错误:

npm WARN [email protected] requires a peer of @angular/[email protected]^2.0.0 but none was installed. 

如何使用NG2,日期选择器/ NGX-提示具有角4?或者有没有其他的模块和日期选择器提示其可连续工作4角

+0

这些只是警告,你应该通过运行你的应用程序来检查它是否适用于你。 – Pengyy

回答