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

Option 1: Daml Sandbox - Invalid dar file #33

Open
Imchrisrivers opened this issue Feb 1, 2020 · 7 comments
Open

Option 1: Daml Sandbox - Invalid dar file #33

Imchrisrivers opened this issue Feb 1, 2020 · 7 comments

Comments

@Imchrisrivers
Copy link

After running the 'daml build' and '(cd app; sbt compile)', for the Option 1 implementation, I receive an "invalid dar file: CdmSwaps-1.0.0.dar" ExitFailure 1 error after running this command: daml sandbox .daml/dist/CdmSwaps-1.0.0.dar.

The raw command: java -jar /Users/craniac/.daml/sdk/0.13.22/sandbox/sandbox.jar .daml/dist/CdmSwaps-1.0.0.dar

@GeorgSchneider
Copy link

Are you running the daml sandbox .daml/dist/CdmSwaps-1.0.0.dar command from the app directory? You need to run this from the root dir in the repo.

@Imchrisrivers
Copy link
Author

Imchrisrivers commented Feb 4, 2020 via email

@GeorgSchneider
Copy link

You need to run the sandbox command from the root repo folder.

@Imchrisrivers
Copy link
Author

Imchrisrivers commented Feb 4, 2020 via email

@Imchrisrivers
Copy link
Author

Imchrisrivers commented Feb 4, 2020 via email

@GeorgSchneider
Copy link

Yes, the CDM model is quite large, so it could be that it requires >8gb to run navigator. I haven't tested the exact requirements yet for this option.

@Imchrisrivers
Copy link
Author

Imchrisrivers commented Feb 10, 2020 via email

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