-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
7.11.0
-
None
Due to the transpiling of superagent and fast-xml-parser, sdk-js can no longer be used as a npm package, as we need transpilation steps to be taken first.
Steps to reproduce
- create a node project
- add "camunda-bpm-sdk-js": "git://github.com/camunda/camunda-bpm-sdk-js" as dependency
- run npm i
- add an index.js with var CamSDK = require('camunda-bpm-sdk-js')
- run node index.js
observed Behavior
Error: Cannot find module './../../vendor/superagent' at Function.Module._resolveFilename (module.js:547:15)
Expected Behavior
- I can use sdk-js
There are 2 ways to solve this:
1. deliver transpiled dependencies with the package
2. move the transpilation step in another repository