bpmn-io / camunda-transaction-boundaries

Visualize all Camunda transaction boundaries in a BPMN diagram.
MIT License
15 stars 9 forks source link

Camunda modeler 2.2.4 won't start with camunda-transaction-boundaries 1.0.1 #6

Closed doerfli closed 5 years ago

doerfli commented 5 years ago

When starting camunda-modeler 2.2.4 with version 1.0.1 of camunda-transaction-boundaries plugin, the modeler won't start. The following exception is thrown

Uncaught Exception:
/Users/myuser/Library/Application Support/camunda-modeler/plugins/camunda-transaction-boundaries/lib/index.js:1
(function (exports, require, module, __filename, __dirname, process, global, Buffer) { return function (exports, require, module, __filename, __dirname) { import TransactionBoundaries from './TransactionBoundaries';
                                                                                                                                                                  ^^^^^^^^^^^^^^^^^^^^^

SyntaxError: Unexpected identifier
    at new Script (vm.js:74:7)
    at createScript (vm.js:246:10)
    at Object.runInThisContext (vm.js:298:10)
    at Module._compile (internal/modules/cjs/loader.js:678:28)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
nikku commented 5 years ago

We need to reproduce this and see what's going on.

It's not a nice behavior to prevent the modeler from starting.

nikku commented 5 years ago

Cannot reproduce this. I guess you confused this library with the actual Camunda Modeler plug-in.

I added a hint to the README, explaining that this is not the actual plug-in.

doerfli commented 5 years ago

You are right, i confused that. Thanks for the hint!