Skip to content

TypeError: Cannot read property '$options' of undefined - something with sync/async? #97

Closed
@k2042

Description

@k2042

Bug report

Reproduction of the problem

  1. Create fresh Vue.js 2 project using vue-cli 3.11.0, all defaulted, Vue version is 2.6.12
  2. Add chart widget as described here (by copying the example): https://www.telerik.com/kendo-vue-ui/components/charts/series-types/area/ (I'm using the second one, stacked area chart)
  3. Start the app.

Current behavior

Gives error:

[Vue warn]: Error in mounted hook: "TypeError: Cannot read property '$options' of undefined"
found in
--->
...

Expected/desired behavior

Work.

Environment

  • Kendo UI version: 2020.3.1118 || 2021.1.119
  • Vue: 2.6.12
  • Vue-cli: 3.11.0
  • Browser: any

Possibly related to this:
vuejs/vue-test-utils#673
vuejs/vue-test-utils#653
vuejs/vue#8240

Though I don't understand the workaround proposed: vuejs/vue-test-utils#653 (comment)

Are there any quick workarounds specifically for the chart component? I suppose there was at least a version combination between Vue and Kendo that did actually work, maybe I could revert for some older ones?

Metadata

Metadata

Assignees

Labels

BugItem which indicates that something is not workingFP: Completedwrappersissue related to Kendo Vue Wrappers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions