Skip to content

Can't install CLI with brew #712

@ryanjshaw

Description

@ryanjshaw

brew install streamingfast/tap/substreams

fails with:

==> Fetching downloads for: substreams
✘ Formula substreams (1.17.6)
Error: Failed to download resource "substreams (1.17.6)"
Download failed: https://github.com/streamingfast/substreams/releases/download/v1.17.6/substreams_darwin_arm64.tar.gz

It seems that 1.17.6 isn't available under Releases, but it is nevertheless referenced in the homebrew tap: https://github.com/streamingfast/homebrew-tap/blob/master/substreams.rb

Temporary workaround (maybe there's an easier way?):

  1. After brew fails, replace the contents of /opt/homebrew/Library/Taps/streamingfast/homebrew-tap/substreams.rb with the previous version
  2. Run brew install again
  3. Revert your changes with git reset --hard in the /opt/homebrew/Library/Taps/streamingfast/homebrew-tap/ repo path.

EDIT: apparently you can also just do brew install https://raw.githubusercontent.com/streamingfast/homebrew-tap/7b7509366fafd35234543b1a7b59291d7cc2de0a/substreams.rb but this didn't work for me, you might have to brew unlink

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions