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

Registration issue #60

Open
GlitchEclipse opened this issue Feb 2, 2021 · 0 comments
Open

Registration issue #60

GlitchEclipse opened this issue Feb 2, 2021 · 0 comments

Comments

@GlitchEclipse
Copy link

GlitchEclipse commented Feb 2, 2021

I am having an issue with the extension because of a registration issue that recently came up and is preventing my cytoscape diagram from loading. Error is:

Can not register nodeHtmlLabel for core since nodeHtmlLabel already exists in the prototype and can not be overridden

I followed the instructions to register the extension on the ngInit() of my diagram as follows:

var nodeHtmlLabel = require('cytoscape-node-html-label');
nodeHtmlLabel(cytoscape);

I am not sure how to resolve. The extensions are registered when I load the component, but no matter what I try I am getting this error because it thinks it is already loaded. Is there a way to unregistered it so when it is registered again there will not be an issue? Can you offer a recommendation on how to resolve?

Thank you

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