2

I'm trying to use Material Custom Component and also using some other components. But I have version conflict Uncaught DOMException.

Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "mwc-icon" has already been used with this registry.

Currently, I'm using the yarn package manager to handle custom-component versions.

Hiten B
  • 61
  • 1
  • 12

1 Answers1

2

Somewhere in your code, you're trying to register the same custom element more than once. Maybe you're importing a library twice?

niorad
  • 1,330
  • 10
  • 14