Hi,
I’m trying to upgrade a daml project from sdk 2.8.0 to 2.9.1 which has daml finance packages as data-dependencies. I can daml build
without errors, however when I run daml codegen js
I get the error bellow.
daml2js: user error (Duplicate name 'daml-prim-0.0.0' for different packages detected)
daml-helper: Received ExitFailure 1 when running
sdk-version: 2.9.1
name: my-project
version: 0.0.1
source: src/daml
dependencies:
- daml-prim
- daml-stdlib
- daml-script
data-dependencies:
- ./.lib/contingent-claims-core-2.0.1.dar
- ./.lib/contingent-claims-lifecycle-2.0.1.dar
...
Best
Jose