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
        }
      });

{53467351-1df4b980-3a6b-11e9-96f5-db5eac33fa03

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.