Camunda/camunda-modeler

Hi. I cloned https://github.com/camunda/camunda-modeler. Following the readme it tells me to checkout a tag, I checkout v1.1.0 and then npm install returns the following error:

npm resolution error report

2020-11-24T14:17:35.904Z

While resolving: camunda-modeler@1.1.0
Found: sinon@1.17.7
node_modules/sinon
dev sinon@“^1.17.3” from the root project

Could not resolve dependency:
peer sinon@“>=2.1.0 <5” from karma-sinon-chai@1.3.4
node_modules/karma-sinon-chai
dev karma-sinon-chai@“^1.2.0-rc1” from the root project

Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Any suggestions?

Thx

I was able to install the dependencies on the tag v1.1.0. The dependency resolution error could be caused by an installed dependency in an upper directory, which causes this conflict.

However, you don’t have to / you shouldn’t use this old version. It’s just an example that you could generally use any existing tag locally. The current version of the Modeler is v4.4.0, but you are also safe to simply check out the stable master branch.

In the end I use the last release tag and I can build the app.
:slight_smile:

thanks a lot!!

1 Like