Codegen js failing with new 2.9,1 sdk (daml finance dependencies)
- jvelasco.intellecteuOP
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 buildwithout errors, however when I rundaml codegen jsI get the error bellow.daml2js: user error (Duplicate name 'daml-prim-0.0.0' for different packages detected) daml-helper: Received ExitFailure 1 when runningsdk-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 - WallaceKelly 1
I was able to reproduce this and created an issue to track.
@jvelasco.intellecteu, thanks for reporting!
- Matteo_Limberto 3
thanks for reporting this.
We are aware of this issue and it will be fixed with the upcoming
2.9.3release.Best,
Matteo