radicle-dev / radicle-cli

Radicle CLI
https://app.radicle.network/alt-clients.radicle.eth/radicle-cli
GNU General Public License v3.0
87 stars 22 forks source link

Unable to install Radicle on Apple Silicon #279

Open Gizmotronn opened 1 year ago

Gizmotronn commented 1 year ago

Hi! I've been trying to install Radicle on my Mac using Home-brew and am routinely running into errors:

cargo install --force --locked --git https://seed.alt-clients.radicle.xyz/radicle-cli.git radicle-cli
    Updating git repository `https://seed.alt-clients.radicle.xyz/radicle-cli.git`
warning: spurious network error (2 tries remaining): failed to resolve address for seed.alt-clients.radicle.xyz: nodename nor servname provided, or not known; class=Net (12)
warning: spurious network error (1 tries remaining): failed to resolve address for seed.alt-clients.radicle.xyz: nodename nor servname provided, or not known; class=Net (12)
error: failed to clone into: /Users/buyer/.cargo/git/db/radicle-cli-2107f8ce6226fc01

Caused by:
  network failure seems to have happened
  if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  failed to resolve address for seed.alt-clients.radicle.xyz: nodename nor servname provided, or not known; class=Net (12)

brew tap radicle/cli https://seed.alt-clients.radicle.xyz/radicle-cli-homebrew.git && brew install radicle/cli/core
==> Tapping radicle/cli
Cloning into '/opt/homebrew/Library/Taps/radicle/homebrew-cli'...
fatal: unable to access 'https://seed.alt-clients.radicle.xyz/radicle-cli-homebrew.git/': Could not resolve host: seed.alt-clients.radicle.xyz
Error: Failure while executing; `git clone https://seed.alt-clients.radicle.xyz/radicle-cli-homebrew.git /opt/homebrew/Library/Taps/radicle/homebrew-cli --origin=origin --template=` exited with 128.

Is Radicle still able to be installed? Because following the documentation on your site, it doesn't seem to be installable anymore.

FintanH commented 1 year ago

I believe this is because this version of the CLI is being deprecated with a move to the new iteration of Radicle, which you can find https://github.com/radicle-dev/heartwood (note that it's very much in the alpha stages).

I think there's plans for those old URLs to point to an archived version of the project on IPFS, but maybe @cloudhead can confirm that :)

sebastinez commented 1 year ago

Hi @Gizmotronn, the URL you are trying to install the CLI from has been migrated to the new iteration. If you have cargo on your machine you should be able to compile radicle-cli from the source code located in this repo, and then use the rad binary v0.7 to handle pre heartwood repos.

As @FintanH said to be able to view pre heartwood repos you can use this repo we pinned on IPFS explained more here https://github.com/radicle-dev/radicle-interface#deployments