我安装了ng2-datetime#v1.1.4(不是RC5版本)并尝试添加datetime组件到我的测试应用程序。我遇到了以下错误。请帮助,如果你知道它是什么。谢谢。
browser_adapter.js:84 TypeError: $(...).datepicker is not a function
at NKDatetime.init (http://localhost:3000/main.bundle.js:27185:59)
at NKDatetime.ngAfterViewInit (http://localhost:3000/main.bundle.js:27115:15)
at DebugAppView._View_Crud0.detectChangesInternal (Crud.template.js:1428:62)
at DebugAppView.AppView.detectChanges (http://localhost:3000/vendor.bundle.js:60629:15)
at DebugAppView.detectChanges (http://localhost:3000/vendor.bundle.js:60734:45)
at DebugAppView.AppView.detectViewChildrenChanges (http://localhost:3000/vendor.bundle.js:60655:20)
at DebugAppView._View_Crud_Host0.detectChangesInternal (Crud.template.js:40:8)
at DebugAppView.AppView.detectChanges (http://localhost:3000/vendor.bundle.js:60629:15)
at DebugAppView.detectChanges (http://localhost:3000/vendor.bundle.js:60734:45)
at DebugAppView.AppView.detectContentChildrenChanges (http://localhost:3000/vendor.bundle.js:60647:20)
at DebugAppView._View_ServicesMain0.detectChangesInternal (ServicesMain.template.js:376:8)
at DebugAppView.AppView.detectChanges (http://localhost:3000/vendor.bundle.js:60629:15)
at DebugAppView.detectChanges (http://localhost:3000/vendor.bundle.js:60734:45)
at DebugAppView.AppView.detectViewChildrenChanges (http://localhost:3000/vendor.bundle.js:60655:20)
at DebugAppView._View_ServicesMain_Host0.detectChangesInternal (ServicesMain.template.js:37:8)
at DebugAppView.AppView.detectChanges (http://localhost:3000/vendor.bundle.js:60629:15)
at DebugAppView.detectChanges (http://localhost:3000/vendor.bundle.js:60734:45)
at DebugAppView.AppView.detectContentChildrenChanges (http://localhost:3000/vendor.bundle.js:60647:20)
at DebugAppView._View_App0.detectChangesInternal (App.template.js:88:8)
at DebugAppView.AppView.detectChanges (http://localhost:3000/vendor.bundle.js:60629:15)
at DebugAppView.detectChanges (http://localhost:3000/vendor.bundle.js:60734:45)
at DebugAppView.AppView.detectViewChildrenChanges (http://localhost:3000/vendor.bundle.js:60655:20)
at DebugAppView._View_App_Host0.detectChangesInternal (App.template.js:40:8)
at DebugAppView.AppView.detectChanges (http://localhost:3000/vendor.bundle.js:60629:15)
at DebugAppView.detectChanges (http://localhost:3000/vendor.bundle.js:60734:45)
at ViewRef_.detectChanges (http://localhost:3000/vendor.bundle.js:47800:66)
at http://localhost:3000/vendor.bundle.js:34125:85
我有同样的问题......所有的包都装......还我尝试安装分型定义引导-datetimepicker没有结果。 – equintas