Compilation error type checking package: This package defines both exceptions and templates. This may make this package and its dependents not upgradeable
- nandansvOP
Hello Team,
Trying to setup and experiment w/ splice amulet from here splice/daml/splice-amulet/daml.yaml at 066446b739207e0e17fa77430b1957014101b583 · hyperledger-labs/splice · GitHub
Current version of canton : 3.4.10
- While compiling w/ default yaml. w/ below options in
build-options:
Faced below issue:
- So , removed these 3 options and tried compiling using
dpm build: faced below
checked out from mainCan someone please help here!!
- While compiling w/ default yaml. w/ below options in
- WallaceKelly 1
Today, those Daml models are compiled with Daml 3.3. For Daml 3.3, you will have more success with the Daml Assistant
damlthan you will with the Digital Asset Package Managerdpm.Alternatively, you can compile those models with the following from the root directory:
sbt splice-amulet-daml/compileTo get a snapshot which presents as
3.3.0-snapshot.20250502.13767.0.v2fc6c7e2, you can call the build-tools/install-daml-sdk.sh script. Note that this currently requires settingARTIFACTORY_USERandARTIFACTORY_PASSWORDenvironment variables as described in Setting up your development environment.Without a matching snapshot version, I’m seeing this error:
> daml version daml: sdk-version field in daml.yaml is not a valid Daml version. Validating version from the internet failed. details: path: /Users/wallacekelly/dev/splice/daml.yaml internal: Could not resolve release version 3.3.0-snapshot.20250502.13767.0.v2fc6c7e2 from the internet. Reason: Couldn't find Linux SDK in release at url: 'https://api.github.com/repos/digital-asset/daml/releases/tags/v3.3.0-snapshot.20250502.13767.0.v2fc6c7e2' - nandansv
WallaceKelly:build-tools/install-daml-sdk.sh
Got it, What’s the recommended version to work w/ ?
We tried to install enterprise sdk, but its blocking for macs. When raised a ticket#
DA-3438, it is recommended to usedpmoverdaml assistantWe’ve got latest SDK 3.4.10 downloaded by default.
Does
dpmwork w/3.3.xxx snapshots?.I was able to solve the problem i’ve mentioned above by separating exceptions from
AmuletRules.damland by setting build options like below :
but that’s just a workaround.
Also, there is no
dpm startcommand just likedaml start. - WallaceKelly
Today, the Splice repo has not been updated to work with
dpm. That will change, of course. To avoid the workarounds you mentioned, you will have to usedamland have jFrog access.You can install both
damlanddpm.For new projects, you should definitely use
dpmand Canton 3.4.x.Yes, some of the
damlcommands are not available in exactly the same way. Here is a table that lists the differences.


