-
Notifications
You must be signed in to change notification settings - Fork 79
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
Build problem on FreeBSD #6486
Labels
Comments
This is a related Rollup issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
On FreeBSD platform, we have a build problem on FreeBSD ( since Vaadin 23.3.10 and up )
Our node/npm configuration is
[lemke@devrep /git/acc]$ node --version
v20.14.0
[lemke@devrep /git/acc]$ npm -version
10.8.1
From Vite, we get the following build error :
[INFO] Running Vite ...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.675 s
[INFO] Finished at: 2024-06-10T07:43:19+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:24.4.0.rc1:build-frontend (default) on project Acc: Execution default of goal com.vaadin:vaadin-maven-plugin:24.4.0.rc1:build-frontend failed: Vite process exited with non-zero exit code.
[ERROR] Stderr: '/git/acc/node_modules/vite/node_modules/rollup/dist/native.js:84
[ERROR] throw new Error(
[ERROR] ^
[ERROR]
[ERROR] Error: Your current platform "freebsd" and architecture "x64" combination is not yet supported by the native Rollup build. Please use the WASM build "@rollup/wasm-node" instead.
...
After a deeper analysis, it seems, the the CSS Import annotations causes this problem
@CssImport(value = "./styles/login.css", themeFor = "vaadin-login-overlay-wrapper")
@CssImport(value = "./styles/grid-style.css", themeFor = "vaadin-grid")
If commenting this annotations, the build runs successful !
Expected-behavior
Successful Build
Reproduction
Just put CSS annotations in code and make a maven build run on a FreeBSD platform
System Info
FreeBSD 14.1, Vaadin 23.3.10 and up
The text was updated successfully, but these errors were encountered: