Hello,
I’ve started migrating a Vaadin Flow project to Hilla, currently using version 24.5.3. I’m using a Flow layout and migrating views progressively from Flow to Hilla. Locally, everything is working perfectly.
However, in the Github CI environment, when I run the command mvn install -Pproduction
, I encounter the following error during the goal com.vaadin:vaadin-maven-plugin:24.5.3:build-frontend
:
76206 [ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:24.5.3:build-frontend (default) on project backoffice: Execution default of goal com.vaadin:vaadin-maven-plugin:24.5.3:build-frontend failed: Vite process exited with non-zero exit code.
76206 [ERROR] Stderr: 'vite v5.4.9 building for production...
76206 [ERROR] transforming...
76206 [ERROR] frontend/generated/routes.tsx(37,24): error TS2307: Cannot find module 'Frontend/generated/file-routes' or its corresponding type declarations.
I’m stuck and can’t seem to find a solution. Has anyone encountered this issue before or could offer some guidance?
Thanks in advance!