Copilot error when adding component

I get an error when trying to add a component to an existing screen

Constructor not found at the expected location: Component ‘hr.transport.ui.main.GenericMain’ at ‘GenericMain.java’ ( LINE 103)

The class has a constructor at the expected line

public GenericMain() {
	setSizeFull();

what is wrong?

Sounds like it is a custom component. First phase of support for those for Flow will be delivered in 24.7. If you wish, please create GitHub issue here with detailed description and some code examples.

I had some progress. Down the road the issue is with the Flow.tsx file. When using copilot (Command windows) copilot throws this Error: Failed to get file D:\hydra\business-app-starter\src\main\frontend\generated\flow\Flow.tsx

This path is from a another computer where the project was originaly developed and uploaded to git repository.

Where is this path writen in the project. We use IntelliJ IDE. I have search accrosed all files in the idea and vaadin project folder, manualy inspected all config files, vite, vaadin dev server… and cant find this path anywhere. We dont use spring if thats is important.