我正在尝试整合datepicker:https://github.com/g00fy-/angular-datepicker
我收到以下错误:
Unable to find a suitable version for angular, please choose one:
1) angular#1.2.14 which resolved to 1.2.14 and is required by angular-datepicker#1.0.14
2) angular#^1.3.0 which resolved to 1.4.5 and is required by h4h
3) angular#>=1.2.0 <1.5.0 which resolved to 1.4.5 and is required by angular-moment#0.10.3
4) angular#~1.4.x which resolved to 1.4.5 and is required by angular-modal-service#0.6.7
5) angular#1.4.5 which resolved to 1.4.5 and is required by angular-animate#1.4.5
你能告诉我在这里我错过了什么吗?提前谢谢。
答案 0 :(得分:0)
angular-datepicker#1.0.14声称它取决于角度#1.2.14。但是在您的项目中,您使用的是角#1.4.5。
您可以尝试使用带有datepicker 1.0.14的angular#1.4.5来查看该组件是否仍在工作。如果没有,请降级角度版本(包括其他角度组件,例如角度动画)或尝试修复datepicker的兼容性问题,使其适用于角度#1.4.5。