Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'chartId' of undefined #74

Closed
arunrreddy opened this issue Mar 22, 2017 · 6 comments
Closed

Uncaught TypeError: Cannot read property 'chartId' of undefined #74

arunrreddy opened this issue Mar 22, 2017 · 6 comments

Comments

@arunrreddy
Copy link

Expected Behavior

I am using the reactiveProp mixin. The chart should update with the new values fetched from the api.

Actual Behavior

It is throwing an Error in the console.
Uncaught TypeError: Cannot read property 'chartId' of undefined
at getPropDefaultValue (eval at (app.js:814), :1323:14)
at validateProp (eval at (app.js:814), :1287:13)
at updateChildComponent (eval at (app.js:814), :2150:20)
at prepatch (eval at (app.js:814), :3015:3)
at patchVnode (eval at (app.js:814), :4792:7)
at updateChildren (eval at (app.js:814), :4719:9)
at patchVnode (eval at (app.js:814), :4803:29)
at VueComponent.patch [as patch] (eval at (app.js:814), :4927:9)
at VueComponent.Vue._update (eval at (app.js:814), :1992:19)
at VueComponent.updateComponent (eval at (app.js:814), :2095:10)

Environment

  • vue.js version: 2.2.1
  • vue-chart.js version: v2.3.7
  • npm version: v6.9.2
@apertureless
Copy link
Owner

apertureless commented Mar 22, 2017

@arunrreddy
Have you tried to update to the latest version? We're at 2.5.4

@apertureless
Copy link
Owner

ping @arunrreddy

@apertureless
Copy link
Owner

#closed due to inactivity

@smagew
Copy link

smagew commented Jul 18, 2017

@arunrreddy i have the same problem. How you solve it ?

@apertureless
Copy link
Owner

@smagew can you show some code snippets?

@smagew
Copy link

smagew commented Jul 18, 2017

@apertureless i have the similar errors in debug console:

vuejs.js:529 TypeError: Cannot read property 'chartId' of undefined
    at getPropDefaultValue (vuejs.js:1426)
    at validateProp (vuejs.js:1390)
    at updateChildComponent (vuejs.js:2492)
    at prepatch (vuejs.js:3367)
    at patchVnode (vuejs.js:5170)
    at updateChildren (vuejs.js:5097)
    at patchVnode (vuejs.js:5181)
    at VueComponent.patch [as __patch__] (vuejs.js:5306)
    at VueComponent.Vue._update (vuejs.js:2327)
    at VueComponent.updateComponent (vuejs.js:2443)
handleError @ vuejs.js:529
(anonymous) @ vuejs.js:663
nextTickHandler @ vuejs.js:608

and

vuejs.js:529 TypeError: Cannot read property 'chartId' of undefined
    at getPropDefaultValue (vuejs.js:1426)
    at validateProp (vuejs.js:1390)
    at updateChildComponent (vuejs.js:2492)
    at prepatch (vuejs.js:3367)
    at patchVnode (vuejs.js:5170)
    at updateChildren (vuejs.js:5097)
    at patchVnode (vuejs.js:5181)
    at VueComponent.patch [as __patch__] (vuejs.js:5306)
    at VueComponent.Vue._update (vuejs.js:2327)
    at VueComponent.updateComponent (vuejs.js:2443)

But its my fault. I missed the error message from npm:

vue@^2.3.4, required by [email protected]

after vuejs update all works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants