bpmn-io / bpmn-js-nyan

bpmn-js, nyan cat style :rainbow: :cat:
MIT License
91 stars 27 forks source link

When I run I don't see any of the nyan cat additions #4

Closed kdenehy closed 5 years ago

kdenehy commented 5 years ago

New bpmn-js developer here (with limited node.js/npm experience) - when I clone and run (npm run dev) bpmn-js-nyan I seem to get the standard out-of-the-box bpmn application without the nyan cat in the palette or the colorization icon in the context pad.

Your "Usage" section shows code that I assume would implement the changes but doesn't say what to do with it. I've tried creating new index.js file containing that code and putting it in several places but I don't ever see the changes.

What am I missing? Thanks in advance.

kdenehy commented 5 years ago

Moved code into src/app.js and changed "main" in package.json to point to it. Still no change. May not be related, but "npm run all" fails:

/bpmn-js-nyan/src/app.js 9:5 error 'bpmnJS' is assigned a value but never used no-unused-vars

✖ 1 problem (1 error, 0 warnings)

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bpmn-js-nyan@2.1.0 lint: eslint . npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bpmn-js-nyan@2.1.0 lint script.

pinussilvestrus commented 5 years ago

Hi @kdenehy,

are you familiar with the bpmn-js toolkit itself? The bpmn-js-nyan is an extension library to be added to a Modeler instance. Did you have a look inside our walkthrough and / or our examples? They will show you how to use the Modeler accordingly.

The Usage part of this repository's README shows how to integrate the nyan modules in a bpmn-js application. For example, you can do it this way to add the nyan extensions in the modeler example.

Does that help you? Feel free to ask when you need additional help.

nikku commented 5 years ago

Closing this due to inactivity :running_man:.