Error in GitHub build

Getting the following error in GitHub build:

[INFO] — flow-maven-plugin:23.3.3:build-frontend (default) @ webapp —
[INFO] Reflections took 4272 ms to scan 354 urls, producing 19016 keys and 108771 values
[INFO] Scanning classes to find frontend configurations and dependencies…
[INFO] Visited 25645 classes. Took 17793 ms.
[INFO] Visited 179 classes. Took 54 ms.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:46 min
[INFO] Finished at: 2023-04-01T18:22:18Z
[INFO] ------------------------------------------------------------------------
Error: Failed to execute goal com.vaadin:flow-maven-plugin:23.3.3:build-frontend (default) on project webapp: Could not execute build-frontend goal:
Error: **************************************************************************
Error: * TypeScript config file ‘tsconfig.json’ has been updated to the latest *
Error: * version by Vaadin. Please verify that the updated ‘tsconfig.json’ *
Error: * file contains configuration needed for your project (add missing part *
Error: * from the old file if necessary) and restart the application. *
Error: **************************************************************************
Error: → [Help 1]
Error: To see the full stack trace of the errors, re-run Maven with the -e switch.
Error: Re-run Maven using the -X switch to enable full debug logging.
Error: For more information about the errors and possible solutions, please read the following articles:
Error: [Help 1]
Error: Process completed with exit code 1.

Does anyone know what to do to resolve this problem?

Which part of the exception message should be improved ?

We added one line…fails
We removed the line…still fails

Once the version field matches, it will no longer complain but use whatever you have in the file

version field is “flow_version”: “23.3.4”…what should it be?

We’re using 23.3.7…so I would update the flow_version to 23.3.7?

Whatever it put there when you started the app

The ”flow_version” naming is unfortunate because it is not the flow version

It was recently renamed to ”version” to reduce the confusion but that might have been only in 24.x

Should I change the flow_version?

Use the updated file and reapply whatever customizations you had. That is probably the easiest way

When does the file get updated?

When you upgrade the Vaadin/Flow version

Okay, thank you for your time…still do not understand what happened by just adding a single line to the file. It builds fine on my local, but gets the error in the GitHub build process.

If it only happens there, then you might have a different tsconfig.json locally compared to what is in the repository

No, I do not.

Is this an error or just a warning?