When I try the gradle cli command:
./gradlew -Pvaadin.productionMode=true bootJar
Welcome to Gradle 8.0.2!
Here are the highlights of this release:
- Improvements to the Kotlin DSL
- Fine-grained parallelism from the first build with configuration cache
- Configurable Gradle user home cache cleanup
For more details see Gradle 8.0.2 Release Notes
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
Task :vaadinBuildFrontend FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:vaadinBuildFrontend’.
Vite process exited with non-zero exit code.
Stderr: 'vite v4.1.5 building for production…
transforming…
✓ 129 modules transformed.
warnings when minifying css:
▲ [WARNING] Unexpected “{” [css-syntax-error]
<stdin>:1:0:
1 │ {
╵ ^
▲ [WARNING] Expected identifier but found ““name”” [css-syntax-error]
<stdin>:2:2:
2 │ "name": "Flowable",
╵ ~~~~~~
warnings when minifying css:
▲ [WARNING] Unexpected “{” [css-syntax-error]
<stdin>:1:0:
1 │ {
╵ ^
▲ [WARNING] Expected identifier but found ““name”” [css-syntax-error]
<stdin>:2:4:
2 │ "name": "Jmix BPM",
╵ ~~~~~~
[vite:css] [postcss] postcss-import: /Users/mariussnyman/IdeaProjects/accur82/frontend/themes/accur82/accur82.css:78:1: Unexpected }
file: /Users/mariussnyman/IdeaProjects/accur82/frontend/themes/accur82/styles.css?used&inline:78:1
error during build:
CssSyntaxError: [postcss] postcss-import: /Users/mariussnyman/IdeaProjects/accur82/frontend/themes/accur82/accur82.css:78:1: Unexpected }
at Input.error (/Users/mariussnyman/IdeaProjects/accur82/node_modules/postcss/lib/input.js:106:16)
at Parser.unexpectedClose (/Users/mariussnyman/IdeaProjects/accur82/node_modules/postcss/lib/parser.js:579:22)
at Parser.end (/Users/mariussnyman/IdeaProjects/accur82/node_modules/postcss/lib/parser.js:325:12)
at Parser.parse (/Users/mariussnyman/IdeaProjects/accur82/node_modules/postcss/lib/parser.js:448:16)
at parse (/Users/mariussnyman/IdeaProjects/accur82/node_modules/postcss/lib/parse.js:11:12)
at new LazyResult (/Users/mariussnyman/IdeaProjects/accur82/node_modules/postcss/lib/lazy-result.js:133:16)
at Processor.process (/Users/mariussnyman/IdeaProjects/accur82/node_modules/postcss/lib/processor.js:53:14)
at runPostcss (file:///Users/mariussnyman/IdeaProjects/accur82/node_modules/vite/dist/node/chunks/dep-53dc1ef4.js:332:6)
at processContent (file:///Users/mariussnyman/IdeaProjects/accur82/node_modules/vite/dist/node/chunks/dep-53dc1ef4.js:326:10)
at file:///Users/mariussnyman/IdeaProjects/accur82/node_modules/vite/dist/node/chunks/dep-53dc1ef4.js:912:20
’
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
BUILD FAILED in 30s
6 actionable tasks: 4 executed, 2 up-to-date