The custom element definition for "vaadin-text-field" was finalized before a style module was registered

I’m having problems with version 24.3.0 onwards.

It shows me the following alert and the text field is not displayed correctly.

The custom element definition for “vaadin-text-field”
was finalized before a style module was registered.
Make sure to add component specific style modules before
importing the corresponding custom element.

Related to Production Build | Deploying to Production | Vaadin Docs

Might be interesting what you are doing to trigger this problem. Normally this does not happen.