Since today morning, my Vaadin24 build failed with the following trace:
10:22:14 INFO using 'node node_modules/npm/bin/npm-cli.js --no-update-notifier --no-audit --scripts-prepend-node-path=true --ignore-scripts install' for frontend package installation
10:22:14 WARN c.v.f.s.frontend.TaskUpdatePackages package-lock.json is missing from this project. This may cause the npm package installation to take several minutes. It is recommended to keep the package-lock.json file persistently in your project. Please stand by...
npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
10:25:07 INFO c.v.f.s.frontend.TaskUpdatePackages Frontend dependencies resolved successfully.
10:25:08 INFO c.v.f.s.frontend.TaskCopyFrontendFiles Copying frontend resources from jar files ...
10:25:08 INFO c.v.f.s.frontend.TaskCopyFrontendFiles Visited 24 resources. Took 17 ms.
10:25:10 INFO c.v.f.s.frontend.TaskRunDevBundleBuild Creating a new express mode bundle. This can take a while but will only run when the project setup is changed, addons are added or frontend files are modified
error during build:
SyntaxError: Unexpected token } in JSON at position 78
at JSON.parse (<anonymous>)
at getThemeProperties (vite.config.ts:524:15)
at handleThemes (vite.config.ts:498:29)
at findThemeFolderAndHandleTheme (vite.config.ts:467:23)
at processThemeResources (vite.config.ts:454:5)
at config (vite.config.ts:1027:7)
at runConfigHook (file://node_modules/vite/dist/node/chunks/dep-ae3fae1b.js:62364:31)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async resolveConfig (file:///node_modules/vite/dist/node/chunks/dep-ae3fae1b.js:61865:14)
at async build (file://node_modules/vite/dist/node/chunks/dep-ae3fae1b.js:44501:20)