Build error - Vite button dependency

Hello all,
today our Vaadin app build start failing (as much as not starting to developers). This is error message:

Error: Build failed with 3 errors:
2025-06-18T17:35:40.524+02:00 C: U:  INFO 20429 --- [dp-ui-v2] [v-server-output] c.v.b.devserver.DevServerOutputTracker   : node_modules/@vaadin/app-layout/src/vaadin-drawer-toggle.js:7:29: ERROR: Could not resolve "@vaadin/button/src/vaadin-button-base.js"
2025-06-18T17:35:40.524+02:00 C: U:  INFO 20429 --- [dp-ui-v2] [v-server-output] c.v.b.devserver.DevServerOutputTracker   : node_modules/@vaadin/dashboard/src/vaadin-dashboard-button.js:12:45: ERROR: Could not resolve "@vaadin/button/src/vaadin-button-base.js"
2025-06-18T17:35:40.524+02:00 C: U:  INFO 20429 --- [dp-ui-v2] [v-server-output] c.v.b.devserver.DevServerOutputTracker   : node_modules/@vaadin/password-field/src/vaadin-password-field-button.js:7:29: ERROR: Could not resolve "@vaadin/button/src/vaadin-button-base.js"

The same error during Vite phase is appearing to developers and also on build server (jenkins, maven build).

We are on Vaadin 24.7.6 (reverting to 24.7.5 didn’t help). Clearing caches didn’t help (it actually seem to broke the build on developers machines).

Please help us, I am out of ideas.

You are not the first one reporting this today. Sounds like something in the stack has updated… might be some transitive Javascript voodoo. If you have your package-lock from yesterday… I would try to rollback on this one

Related issue: Vaadin 24.x Build fails: Rollup failed to resolve import "@vaadin/button/src/vaadin-button-base.js" · Issue #21724 · vaadin/flow · GitHub

We don’t use package.lock file unfortunatelly. I have revrted to Vaadin 24.6.x which seem to be ok for now.