Skip to content

Deprecated V14 bootstrapping with Vite enabled fails silently #14603

Closed

Description

@OlliTietavainenVaadin

Description of the bug

If the deprecated V14 bootstrapping is enabled (vaadin.useDeprecatedV14Bootstrapping=true) and Vite is used for the build, the project fails to render anything and there's no error message

Minimal reproducible example

Set vaadin.useDeprecatedV14Bootstrapping=true in a default V23.2.1 project

Expected behavior

There should be an error message about deprecated V14 not being supported, and the alternatives of switching back to Webpack or disabling the deprecated bootstrapping

Actual behavior

No error is shown in the browser, console log or server log, but the app is also not rendering properly

Versions:

- Vaadin / Flow version:23.2.1
- Java version:n/a
- OS version:n/a
- Browser version (if applicable):n/a
- Application Server (if applicable):n/a
- IDE (if applicable):n/a
- Development or production mode:dev
- Project from start.vaadin.com or activated in application:activated in application (version upgrade)

Activity

  1. Artur- commented on Sep 21, 2022

    @Artur-
    Member

    I would have expected a message saying

    Vite is not supported when useDeprecatedV14Bootstrapping is used. Falling back to webpack
    

    if you have not explicitly enabled webpack

  2. self-assigned this
    on Sep 27, 2022
  3. mshabarov commented on Sep 28, 2022

    @mshabarov
    Contributor

    Release notes have been updated with this limitation https://github.com/vaadin/flow/releases/tag/23.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions