Hello, I’m trying to rebuild an old project which was in flow 10.0.0 (was the latest release at the time !), but the build failed with
[ERROR]
Failed to process frontend files.
[ERROR]
error: Error: ENOENT: no such file or directory, open 'projectPath\target\frontend\bower_components\vaadin-element-mixin\vaadin-dir-mixin.html'
[...]
[ERROR]
Failed to execute goal com.vaadin:flow-maven-plugin:1.0.0:package-for-production (default) on project : Execution default of goal com.vaadin:flow-maven-plugin:1.0.0:package-for-production failed: Transpilation with gulp has failed: 'gulp build_es6' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
I’ve searched about this file, and found it was added to the vaadin-element-mixin
repository this january… So the maven import for vaadin-element-mixin
1.0.2 of course doesn’t contains it, but it’s just normal behaviour, the vaadin-dir-mixin
was only added since version 2.3.0.
So the real problem is why the gulp transpilation failed requesting this obviously non needed file ?
The maven build is launched by eclipse with goals clean package
and profile production
, skipping tests, with JDK 1.8.0_202.