question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Cannot destructure property 'visibleElements' of 'chartStates.get(...)' as it is undefined" when trying to register plugin

See original GitHub issue

I’m getting this error after trying to register the plugin image

Error pops up without even using the annotations in any Chart.

image

Using the auto-import feature for chart.js, but have also tried Chart.register({...registerables, annotationsPlugin}) spread and which also gives the same error

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
stockiNailcommented, May 24, 2022

@nikoisonfire thank you for your details. I’d like to understand better why there is this collision (it shouldn’t). ASA I’ll have more details I’ll update this issue.

1reaction
nikoisonfirecommented, May 24, 2022

That’s strange. I’ve forked your sandbox to replicate the behaviour using auto import et al. https://codesandbox.io/s/sad-shape-jzw7so?file=/src/index.js , but it seems to work there.

I’ll come back here if I can’t fix it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

reactjs - Cannot destructure property .... as undefined
It is probably because the value of sentEmailStatus it's undefined when the component renders, during the first rendering. If you want avoid ...
Read more >
TypeError: Cannot read properties of undefined · Issue #735
I am getting the following errors: TypeError: Cannot read properties of undefined (reading 'visible') where the error references the ...
Read more >
Cannot destructure property as it is undefined when trying to ...
Cannot destructure property as it is undefined when trying to run rendering tests on component : r/reactjs.
Read more >
Plugin Registration Tool Resolution problem.
I'm on Windows 10 and trying to use the Plugin registration tool for CRM 2013, however, the window height is greater than my...
Read more >
Understand the execution context - Dataverse - Microsoft Learn
The following sections describe the data that is passed to your plug-in or custom workflow activity. For plug-ins. With plug-ins you can access ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found