Describe the bug
I just added the add-on to my project. Running the application and opening the page in browser causes a Javascript error breaking the startup. (Using Vaadin 23.5.2)
The browser's console reports a "ReferenceError: module is not defined" with a link. The link leads to the "Sources" where the "leaflet-canvas-marker/node_modules/rbush/index.js" show the error for code line "module.exports = rbush".
I have the problem with my complex project while upgrading from Vaadin 14 to 23. (Previously used the predecessor add-on of this one.)
I could not reproduce with a Vaadin 23 skeleton project. But Markus from chat support could in the first step. Later, playing around with the add-on's version, the error vanished also from his example.
Describe the bug I just added the add-on to my project. Running the application and opening the page in browser causes a Javascript error breaking the startup. (Using Vaadin 23.5.2) The browser's console reports a "ReferenceError: module is not defined" with a link. The link leads to the "Sources" where the "leaflet-canvas-marker/node_modules/rbush/index.js" show the error for code line "module.exports = rbush".
I have the problem with my complex project while upgrading from Vaadin 14 to 23. (Previously used the predecessor add-on of this one.) I could not reproduce with a Vaadin 23 skeleton project. But Markus from chat support could in the first step. Later, playing around with the add-on's version, the error vanished also from his example.
To Reproduce Steps to reproduce the behavior:
Expected behavior The error should not appear ;-)
Desktop (please complete the following information):