Kendo UI 调度程序错误 "this.intlService.weekendRange is not a function"

Kendo UI Scheduler error "this.intlService.weekendRange is not a function"

我最近将我的调度程序更新到版本 1.0.1,但我收到了这个错误:

ERROR TypeError: this.intlService.weekendRange is not a function
   at SchedulerComponent.get [as workWeek] (index.js:2536)
   at SchedulerComponent.push../node_modules/@progress/kendo-angular-scheduler/dist/fesm5/index.js.SchedulerComponent.notifyOptionsChange (index.js:2495)
   at SchedulerComponent.push../node_modules/@progress/kendo-angular-scheduler/dist/fesm5/index.js.SchedulerComponent.ngAfterContentInit (index.js:2243)
   at callProviderLifecycles (core.js:22409)
   at callElementProvidersLifecycles (core.js:22390)
   at callLifecycleHooksChildrenFirst (core.js:22380)
   at checkAndUpdateView (core.js:23311)
   at callViewAction (core.js:23548)
   at execEmbeddedViewsAction (core.js:23511)
   at checkAndUpdateView (core.js:23308)

HTML 没有改变所以我怀疑更新破坏了它。即使在下面的情况下,<kendo-scheduler>

行也会发生错误
<kendo-scheduler>
    <kendo-scheduler-month-view>
    </kendo-scheduler-month-view>
</kendo-scheduler>

调度器月份似乎是唯一有效的视图(日、周都错误地显示为 1 行)

当我查看 npm 更新时,我收到如下警告:

npm WARN @progress/kendo-angular-scheduler@1.0.1 requires a peer of @progress/kendo-angular-buttons@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @progress/kendo-angular-scheduler@1.0.1 requires a peer of @progress/kendo-angular-dateinputs@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @progress/kendo-angular-scheduler@1.0.1 requires a peer of @progress/kendo-angular-dialog@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @progress/kendo-angular-scheduler@1.0.1 requires a peer of @progress/kendo-angular-dropdowns@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @progress/kendo-angular-scheduler@1.0.1 requires a peer of @progress/kendo-angular-popup@^3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @progress/kendo-angular-scheduler@1.0.1 requires a peer of @progress/kendo-angular-intl@^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @progress/kendo-angular-scheduler@1.0.1 requires a peer of @progress/kendo-angular-l10n@^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @progress/kendo-angular-scheduler@1.0.1 requires a peer of @progress/kendo-recurrence@^1.0.0 but none is installed. You must install peer dependencies yourself.

解决这些问题后,我就不再收到错误了。