Hi. I am trying to download the buddy libraries but it ain't working. I keep getting this error message:
Could not transfer artifact buddy:buddy-core:jar:1.11.423 from/to central ( ): /home/asher/.m2/repository/buddy/buddy-core/1.11.423/buddy-core-1.11.423.jar.part.lock (No such file or directory)
Could not transfer artifact buddy:buddy-core:jar:1.11.423 from/to clojars ( ): /home/asher/.m2/repository/buddy/buddy-core/1.11.423/buddy-core-1.11.423.jar.part.lock (No such file or directory)
Could not transfer artifact buddy:buddy-hashers:jar:2.0.167 from/to central ( ): /home/asher/.m2/repository/buddy/buddy-hashers/2.0.167/buddy-hashers-2.0.167.jar.part.lock (No such file or directory)
Could not transfer artifact buddy:buddy-hashers:jar:2.0.167 from/to clojars ( ): /home/asher/.m2/repository/buddy/buddy-hashers/2.0.167/buddy-hashers-2.0.167.jar.part.lock (No such file or directory)
Failed to read artifact descriptor for buddy:buddy-core:jar:1.11.423
Failed to read artifact descriptor for buddy:buddy-hashers:jar:2.0.167
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
Uberjar aborting because jar failed: Could not resolve dependencies
My internet connection is filtered at the provider level. I thought it had to do with this so I just went to a cafe to try and download it but I got the same error.🤦♂️
Any help would be much appreciatedsolved by deleting the appropriate folders from the .m2 directory
yup… the errors with lock files to me suggested a corrupted .m2 directory Glad to see the problem was solved
I asked this leiningen related question in a #yamlscript thread but maybe better luck here: https://clojurians.slack.com/archives/C05HQFMTURF/p1693235022745639