Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility mode production build with skipEs5 fails on Linux #6683

Closed
OlliTietavainenVaadin opened this issue Oct 15, 2019 · 2 comments
Closed

Comments

@OlliTietavainenVaadin
Copy link
Member

Use case: want to make a bundled production build with skipEs5 enabled because there's an add-on component that doesn't go through transpilation nicely.

Sample project: https://github.com/bgfreitas/samplevaadinproject
Steps to reproduce:
mvn clean package -Pproduction
java -jar target/samplevaadinproject-1.0-SNAPSHOT.jar

On a Windows and MacOS system, the app starts as expected. On a Linux machine, after doing the same and when trying to access the app, it shows the following when accessing the app page:

Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.

Mon Oct 14 12:10:15 WEST 2019
There was an unexpected error (type=Internal Server Error, status=500).
Failed to find the bundle manifest file 'frontend://vaadin-flow-bundle-manifest.json' in the servlet context for 'ES5' browsers. If you are running a dev-mode servlet container in maven e.g. `jetty:run` change it to `jetty:run-exploded`. If you are not compiling frontend resources, include the 'vaadin-maven-plugin' in your build script. Otherwise, you can skip this error either by disabling production mode, or by setting the servlet parameter 'original.frontend.resources=true'.

Vaadin / Flow version 14.0.9 (Compatibility mode)
Tested with:

Linux ThinkPad-P52s 4.15.0-64-generic #73-Ubuntu SMP Thu Sep 12 13:16:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
java version "1.8.0_172"
Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 1.8.0_172, vendor: Oracle Corporation, runtime: /usr/lib/jvm/jdk1.8.0_172/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-64-generic", arch: "amd64", family: "unix"
Chrome Version 77.0.3865.90 (Official Build) (64-bit)
@denis-anisimov
Copy link
Contributor

I don't have Linux box and can't verify that.

@mcollovati
Copy link
Collaborator

Closing because compatibility mode is not supported anymore in the maintained Vaadin versions.

@mcollovati mcollovati closed this as not planned Won't fix, can't repro, duplicate, stale Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants