Can't install DAML - SDK installation lock
App Development2 posts210 viewsLast activity Jul 2023
AL
alandnOP
Jul 2023Hi there!
I’m currently having issues installing DAML locally. I have Java 11 installed as well as the environment variable JAVA_HOME initialized. When running the following cURL locally, I get the following:
% curl -sSL https://get.daml.com/ | sh
Determining latest SDK version...
Latest SDK version is 2.6.5
Downloading SDK 2.6.5. This may take a while.
######################################################################## 100.0%
Removing existing installation: /Users/alan/.daml
Removing existing cache: /Users/alan/.cache/daml
Extracting SDK release tarball.
Installing SDK release from directory.
Waiting for SDK installation lock /Users/alan/.daml/sdk/.lock
The installation is waiting for the lock indefinitely. Is there anything else I should be doing? Thanks in advance!
BE
Ben_M
Jul 2023Hi Alan,
If it is still stalled, try cd ~ and then try daml version.
If it reports:
SDK versions:
2.6.4
2.6.5
It is installed and all is well.
If it does not report those versions, then:
rm -rf /Users/alan/.daml
rm -rf /Users/alan/.cache/daml
Then try the cURL command again.
Let me know how it goes.