My compliments on this component - I really like it.
FYI, I tried v1.1.1 with vaadin 14.2.0 and the post animation handler did not fire so I switched back to 1.1.0 and the handler works but in production I have this message
compani-1.1.0.jar!/META-INF/VAADIN/config/flow-build-info.json’ first match of ‘2’ possible
You can check your project for duplicated component versions with npx find-duplicate-dependencies
I hope the vaadin team will fix this pretty soon. Meanwhile I will try to find a workaround.
More Info, but less clarity. Something has gone very wrong (although I don’t know if it’s with your component or my project). I’m now trying a clean build with V14.1.25 and compani 1.1.0 and I’m getting the attached in the browser.
I have just tested compani 1.1.0 with Vaadin LTS 14.1.25 and it worked. Sometimes (when switching between Vaadin versions) you get problems with all those NPM packages (these problems should disappear with 14.2). When I change the Vaadin version, I do always manually delete
node_modules (folder)
package.json
package-lock.json
webpack.config
webpack.generated
These files will be generated by the Vaadin maven plugin. This should clean all those depencencies.
Just FYI… a new maven archetype generated project 14.1.25 with 1.1.0 worked for me too.
But a fully clean build (removing all those files and folders as suggested and cleaning out the browser application) is still giving me the problem as shown in the image above. I’m taking deep breaths.
Last update. The difference is whether I use -Pproduction or not.
If I use -Pproduction the request contains a ‘-es6’ suffix which fails. If I do not the suffix is not there and the request succeeds… the struggle continues.