I am having these error

(Hzerihun) #1

i got these error messages in the process of installing home-brew, any help is appreciated :
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/phantomjs.rb
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/qt.rb
Error: Cannot tap homebrew/core: invalid syntax in tap!
Error: Failure while executing: /usr/local/bin/brew tap homebrew/core
Failed during: /usr/local/bin/brew update --force

(DJ Hawkins) #2
  1. Try $ brew doctor to fix your core package and to see if it’ll fix any errors. Then quit the terminal and restart your device. Once you’re back in reopen your terminal. If you get the same error go to #2.

  2. Try $brew list and then see if you have the qt and phantom.js packages. If you don’t do the following:
    $ brew install qt phantomjs then do $ brew update qt phantomjs
    If this doesn’t work or your homebrew core file is not there and giving you an error the is probably something wrong with your library and where it is installed. I suggest following the instructions on uninstalling homebrew restart your device and then completing a fresh install of homebrew them restarting your device again. That should put things back fresh and new. :vulcan_salute:t5: