facing some issues during the project setup and running the application

Hello Team,

I am very new user on bpmn. I am facing some issues during the project setup and running the application.
I have setup application as per the mentioned steps in this Setup.md file ref: https://github.com/bpmn-io/bpmn-js/blob/develop/docs/project/SETUP.md
I am windows10 user and opening all the projects in Visual studio code.
I have place all the 3 projects(bpmn-js, bpmn-moddle, diagram-js) in a single folder.
I have run command “npm install” in all projects. and it finshed very well.
when I run the command “npm run all” in all 3 projects then i get below metioned output

  1. In bpmn-js
    ERROR: ‘failed to import <bpmn:BoundaryEvent id=“BoundaryEvent_1” />’
    ERROR: Error: missing <bpmn:BoundaryEvent id=“BoundaryEvent_1” />#attachedToRef
    _attachBoundary
    add
    element
    visit
    visitIfDi
    handleFlowNode

handleDeferred
handleDefinitions
render
importBpmnDiagram

ERROR: ‘failed to import <bpmn:SequenceFlow id=“SequenceFlow_1” />’
ERROR: Error: element <bpmn:BoundaryEvent id=“BoundaryEvent_1” /> referenced by <bpmn:SequenceFlow id=“SequenceFlow_1” />#sourceRef not yet drawn
_getEnd
_getSource
add
element
visit
visitIfDi
handleSequenceFlow

handleDeferred
handleDefinitions
render
importBpmnDiagram

  1. In bpmn-moddle
    Uncaught Error: spawn javac ENOENT

npm ERR! code ELIFECYCLE
npm ERR! errno 33
npm ERR! bpmn-moddle@6.0.4 test: mocha -r esm --reporter=spec --recursive test/spec test/integration
npm ERR! Exit status 33
npm ERR!
npm ERR! Failed at the bpmn-moddle@6.0.4 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Hari\AppData\Roaming\npm-cache_logs\2020-04-09T14_43_30_212Z-debug.log
ERROR: “test” exited with 33.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bpmn-moddle@6.0.4 all: run-s generate-schema lint test distro
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bpmn-moddle@6.0.4 all script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Hari\AppData\Roaming\npm-cache_logs\2020-04-09T14_43_30_429Z-debug.log

  1. iagram-js
    ERROR: ‘unhandled error in event listener’
    ERROR: 'failingListener
    invokeFunction
    _invokeListener
    _invokeListeners
    fire

assertThrows@http://localhost:9877/base/node_modules/chai/chai.js?db92883971379fbea71a12c25b271c26a3afc3f6:2991:10
methodWrapper@http://localhost:9877/base/node_modules/chai/chai.js?db92883971379fbea71a12c25b271c26a3afc3f6:7824:30

callFn@http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:4550:25
run@http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:4542:13
runTest@http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:5078:13
http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:5196:19
next@http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:4992:16
http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:5002:11
next@http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:4926:16
http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:4970:9
timeslice@http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:82:27’
ERROR: ‘unhandled error in event listener’
ERROR: 'failingListener
invokeFunction
_invokeListener
_invokeListeners
fire

assertThrows@http://localhost:9877/base/node_modules/chai/chai.js?db92883971379fbea71a12c25b271c26a3afc3f6:2991:10
methodWrapper@http://localhost:9877/base/node_modules/chai/chai.js?db92883971379fbea71a12c25b271c26a3afc3f6:7824:30

callFn@http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:4550:25
run@http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:4542:13
runTest@http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:5078:13
http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:5196:19
next@http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:4992:16
http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:5002:11
next@http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:4926:16
http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:4970:9
timeslice@http://localhost:9877/base/node_modules/mocha/mocha.js?840d4fbbcc65a16cec39f9e25af2ea6d2cff68ea:82:27’

please find the below mentioned issue.

  1. let me know in which programming language these bpmn(bpmn-js, bpmn-moddle, diagram-js) projects are created ?
  2. Along with which programming language’s application I can use this bpmn projects. please provide at least 3-4 language name.
  3. have installed java version “1.8.0_241”. do I need to setup anything to run the application successfully.
  4. hen I run this command in cmd “mklink /d \MyDocs K:\Hari\DeveloperArea” then getting error “You do not have sufficient privilege to perform this operation”.
  5. hat command use to build and run the application. in all 3 projects which is the main application.
  6. what steps need to take to integrate these application with any new application .
    Thanks.
1 Like

First, please make sure you format your errors, because it’s very hard to read.

To answer your questions

  1. let me know in which programming language these bpmn(bpmn-js, bpmn-moddle, diagram-js) projects are created ?

The bpmn.io toolkit is written in Javascript.

  1. Along with which programming language’s application I can use this bpmn projects. please provide at least 3-4 language name.

The suffix js of each library should indicate that they are embeddable in any Javascript application.

  1. have installed java version “1.8.0_241”. do I need to setup anything to run the application successfully.

This project is not related to Java.

  1. hen I run this command in cmd “mklink /d \MyDocs K:\Hari\DeveloperArea” then getting error “You do not have sufficient privilege to perform this operation”.

This seem to relate to your local setup and not with the bpmn.io toolkit.

  1. hat command use to build and run the application. in all 3 projects which is the main application.

Seems like your questions are really coupled to a Java way of building applications. Javascript does not relate to it.

  1. what steps need to take to integrate these application with any new application .

We offer a lot of examples to showcase that.