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

Error when installing with `brew install fission-cli` #37

Closed
agentofuser opened this issue Nov 13, 2019 · 5 comments
Closed

Error when installing with `brew install fission-cli` #37

agentofuser opened this issue Nov 13, 2019 · 5 comments

Comments

@agentofuser
Copy link

@agentofuser agentofuser commented Nov 13, 2019

Summary

==> Installing fission-cli from fission-suite/fission
Error: An exception occurred within a child process:
  RuntimeError: /usr/local/opt/ipfs not present or broken
Please reinstall ipfs. Sorry :(

Problem

I have the ipfs cli installed by IPFS Desktop.

First I thought the error was because fission was looking for the ipfs cli at that absolute path (/usr/local/opt/ipfs), which doesn't exist.

So I symlinked it to /Applications/IPFS\ Desktop.app/Contents/Resources/app.asar.unpacked/node_modules/go-ipfs-dep/go-ipfs/ipfs, which is what the ipfs command in the PATH points to.

I tried again, but I keep getting the same error.

Impact

Show-stopper, can't install to sign up.

Solution

Not sure how to debug this, the error message is a bit vague.

Desktop (please complete the following information):

  • OS: macOS Catalina
  • ipfs version: 0.4.22
@bmann

This comment has been minimized.

Copy link
Member

@bmann bmann commented Nov 13, 2019

That is an interesting error. First Mac error we’ve gotten ;)

Homebrew shouldn’t depend on IPFS being installed. Will look into this.

@bmann bmann added the homebrew label Nov 13, 2019
@bechurch

This comment has been minimized.

Copy link
Contributor

@bechurch bechurch commented Nov 13, 2019

hmm I have a feeling this has to do with requiring ipfs in our brew formula:
https://github.com/fission-suite/homebrew-fission/blob/master/fission-cli.rb#L7

Most likely its checking that you have ipfs installed via brew.

@agentofuser would you be willing to see if install ipfs via brew solves this for you? I understand if you might have ipfs setup a certain way and we can get around to verifying this ourselves :)

@expede

This comment has been minimized.

Copy link
Member

@expede expede commented Nov 13, 2019

Thanks for the detailed bug report! We really appreciate these 🙏

Just to unblock, you can also download the binary here

If IPFS is on your PATH, running that should work 🤞

We're working on fixing the Homebrew formula to auto-detect non-brew IPFS, or at minumu give an opt-out of the dependency.

@agentofuser

This comment has been minimized.

Copy link
Author

@agentofuser agentofuser commented Nov 14, 2019

@bechurch I installed ipfs via brew, and either before or after doing that I'm now getting the following message:

Error: fission-cli: Unsupported special dependency :ipfs

@expede thanks! I'll try the binary.

@bmann

This comment has been minimized.

Copy link
Member

@bmann bmann commented Nov 15, 2019

I heard back from @agentofuser on Discord that brew untap / tap fixed this issue. Closing!

@bmann bmann closed this Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.