Vaadin 25 does not build: Rollup failed to resolve import

I have upgraded my application to Vaadin 25.1.0 from 24 and Spring Boot from 3 to 4 etc. Now Vaadin cannot build the frontend anymore:

Execution failed for task ':***-app:vaadinBuildFrontend'.
> Vite process exited with non-zero exit code.
  Stderr: 'vite v7.3.1 building client environment for production...
  transforming...
  ✓ 482 modules transformed.
  vite v7.3.1 building client environment for production...
  transforming...
  ✓ 79 modules transformed.
  rendering chunks...
  computing gzip size...
  ../../../build/resources/main/META-INF/VAADIN/webapp/sw.js  19.41 kB │ gzip: 6.50 kB
  ✓ built in 516ms
  ✗ Build failed in 2.26s
  error during build:
  [vite]: Rollup failed to resolve import "@vaadin/vaadin-lumo-styles/sizing.js" from "/home/***/node_modules/@vaadin-component-factory/vcf-date-range-picker/theme/lumo/vcf-date-range-picker-overlay-styles.js".

My globally installed node version is 22.2 - is that a problem? I was under the impression that Vaadin comes with its own version of node?

It looks like you are using a version of vcf-date-range-picker that is not compatible with Vaadin 25. Try upgrading the add-on to the latest version.

Oops sorry… forgot to update that. Thank you very much, on to the next problem :)