Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cxonexus-github-admin opened this issue Mar 23, 2022 · 1 comment

Comments

@cxonexus-github-admin
Copy link

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
Copy link
Collaborator

Ichigo85 commented Aug 24, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants