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 (in promise) TypeError: Cannot read properties of undefined (reading 'syncEventHandler') #130

Open
dianakoh opened this issue Jan 10, 2024 · 0 comments

Comments

@dianakoh
Copy link

I'm using Chart.js in my Nuxt3 project and trying to apply the crosshair plugin. During the development process, I encounter an error: 'Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'syncEventHandler')'. This error occurs in the 'afterDestroy' section when moving from a page with the chart to another page. Is there any way to resolve this issue?

The dependencies information for the module I am using is as follows:

  • "chart.js": "^4.4.0",
  • "vue-chartjs": "^5.2.0",
  • "chartjs-plugin-crosshair": "^2.0.0",
  • "@types/chartjs-plugin-crosshair": "^1.1.4",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant