diagramUrl dont load from local url

iam add diagramUrl from local project but dont load and dnot allow add digram

var diagramUrl = '/diagram.bpmn';

      // modeler instance
      var bpmnModeler = new BpmnJS
        keyboard: {
          bindTo: window


XML Parsing Error: no root element found Location: http://localhost:40275/diagram.bpmn
collaboration.bpmn Line Number 1, Column 1:

Is this a duplicate of this and this issue?

Please do not unnecessarily cross-post your questions on various channels. It won’t help you to get a qualified, timely response.

I’ve posted a clarification / solution to your case here.