sharedchains / camunda-wysiwyg-documentation

Compile your documentation on Camunda Modeler with a rich text editor!
MIT License
6 stars 2 forks source link

Getting Module not found error when running" bpmn-js-documentation-viewer #3

Open cxonexus-github-admin opened 2 years ago

cxonexus-github-admin commented 2 years ago

The documentation view is not in package.json and doesn't exist in npm. I tried to include the repo in the package.json: "bpmn-js-documentation-viewer": "github:sharedchains/bpmn-js-documentation-viewer",

but it doesn't load the lib directory into node-modules when npm install is run, so this error occurs:

Module not found: Error: Can't resolve './lib/base' in 'S:\intellij\camunda-wysiwyg-documentation\node_modules\bpmn-js-documentation-viewer'

Ichigo85 commented 1 year ago

Hello @cxonexus-github-admin , sorry for the very late reply! You're right, we decided to not publish that package, anyway you looked at the right project. If you want to compile our plugin, you can use the npm link command to include the sources to node_modules. If you just need the documentation plugin, anyway, you can simply download the latest release, which I just upgraded to support Camunda Modeler 5.x