node.js - BPMN.IO examples not working in localhost -


i want run bpmn in localhost. after browsing whole day, tried steps

  1. install nodejs
  2. npm install bpmn-js // in cmd

after don't know want do.

also tried

  1. downloading bpmn example files
  2. saved in local path , opened "localhost/bpmn-js-examples-master/properties-panel/app" in chrome.

and getting error in console => "uncaught referenceerror: require not defined"

to solve have include require.js file index.html ( inside "localhost/bpmn-js-examples-master/properties-panel/app" )

but getting new console error => "uncaught error: module name "fs" has not been loaded yet context: _. use require([])"

please, me this.

from github:

make sure use browserify or bundle project , bpmn-js browser.

there sample project provided node environment. can use sample , build around it. important part you're missing grunt script browserifying code (this process prevents require not defined error).


Comments

Popular posts from this blog

ios - UITEXTFIELD InputView Uipicker not working in swift -

Hatching array of circles in AutoCAD using c# -