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

ui/daml.js - cannot find the file specified #55

Open
mvresh opened this issue Mar 14, 2022 · 4 comments
Open

ui/daml.js - cannot find the file specified #55

mvresh opened this issue Mar 14, 2022 · 4 comments

Comments

@mvresh
Copy link

mvresh commented Mar 14, 2022

Hi.

I'm trying to run the app using
make build
but instead I'm getting the following error.

daml codegen js -o ui/daml.js
process_begin: CreateProcess(NULL, daml codegen js -o ui/daml.js, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [daml.mk:19: ui/daml.js] Error 2

I installed DAML SDK along with Eclipse Adoptium latest version, as mentioned in the README. Not sure where the problem is.

@richardkapolnai-da
Copy link
Contributor

Hi, sounds like "daml" is not in your path when running it from Eclipse. Please try to setup PATH permanently: https://docs.daml.com/getting-started/path-variables.html

@mvresh
Copy link
Author

mvresh commented Mar 20, 2022

I installed with windows installer. So the path should be automatically setup if I'm not wrong?

@richardkapolnai-da
Copy link
Contributor

richardkapolnai-da commented Mar 20, 2022

Sounds right about setting the path.
I just realized that we may not have all dependencies listed on our https://github.com/digital-asset/ex-cbdc#prerequisites page on Windows. Can you please copy the output of these scripts individually? I suspect you need to install MinGW or Linux subsystem. So please run:

scripts/getDamlProjects.sh
scripts/getDamlDependencies.sh lib

@mvresh
Copy link
Author

mvresh commented Apr 5, 2022

Hi Richard. Sorry I couldnt run it until today. here are the outputs:

For getDamlProjects.sh:
banking/.daml/dist/banking-1.0.0.dar
certificates/.daml/dist/certificates-1.0.0.dar
demoadmin/.daml/dist/demoadmin-1.0.0.dar
finance/.daml/dist/finance-1.0.0.dar
landlord/.daml/dist/landlord-1.0.0.dar
lib/.daml/dist/lib-1.0.0.dar
reset/.daml/dist/reset-1.0.0.dar
testing/.daml/dist/testing-1.0.0.dar
triggers/.daml/dist/triggers-1.0.0.dar

For getDamlDependencies.sh lib:
lib/daml.yaml
lib/daml/DA/Lib/Types/Sector.daml

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