When trying to build my Project using Vaadin 25 it fails with
[vite]: Rollup failed to resolve import "@polymer/polymer/polymer-element.js" from "[full-path-of-project]/src/main/frontend/generated/jar-resources/audio-player.js".
Removing all references to the audio-player addon let’s the project compile, but withoput sound it’s kind of frustrating ;-)
You can find the whole project at:
Regards
Christian
The component still relies on Polymer. As Vaadin removed the dependency you might need to add it in order to use the add-on. See How to upgrade Vaadin applications. Also you can report the issue in the add-ons repository as well.
Thank you for the quick and helpful answer. After resolving the dependency to Polymer, there was another issue due to the replacement of the JSON library. I could resolve this using the code of the Github repository “parttio/VaadinAudioPlayer”, where I opened a pull request with my changes. I hope this is the correct place for doing so? It would be nice if an official new Version of the add-on could be published.