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

Using the component with Vaadin 23 gives NotSupportedError: CustomElementRegistry.define: 'vaadin-lumo-styles' has already been defined as a custom element. #99

Open
mvysny opened this issue Feb 16, 2022 · 1 comment

Comments

@mvysny
Copy link
Contributor

mvysny commented Feb 16, 2022

Hi Goran, thank you so much for the component :)

I've tried to use the MultiselectComboBox component version 4.0.0-rc1 and 4.0.0-rc2 with Vaadin 23.0.0.beta1 and 23.0.0.beta2, and in all cases the client-side fails to load with:

NotSupportedError: CustomElementRegistry.define: 'vaadin-lumo-styles' has already been defined as a custom element.

I'm not sure whether the issue is on Vaadin's side or the integration side; it could be that multiple versions of vaadin-lumo-styles are being pulled in. Would you please happen to know a solution from the top of your head?

@watho
Copy link

watho commented May 3, 2022

I can say, that 4.0.0-rc2 on Vaadin 23.0.8 works. I had the same error. Switching from pnpm to npm and deleting the node_modules folder fixed it for me.

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

2 participants