I have implemented a complex modeler with properties-panel, custom renderer, custom elements and so one … and it works fine as Modeler.
When I start the viewer, I receive following error message.
The modeler runs with a lot of modules, but the viewer does not need or should not need all of these modules. I found 1 file which contains “bpmnFactory”. It is my CustomElementFactory.js which is part of my CustomRenderer. The CustomRenderer is necessary to show my customElements in the viewer.
I used the CustomElement (https://github.com/bpmn-io/bpmn-js-examples/tree/master/custom-elements) example as guidance.
Do you have any idea how to solve this issue?
Thanks in advance,