Brew Install: Syntax Error
Closed this issue · 2 comments
Marschelloss commented
Just tried to install chunkwm via your tap, but it fails with a syntax error.
~ » brew -v
Homebrew 1.3.6
Homebrew/homebrew-core (git revision 09c4d; last commit 2017-11-06)
~ » brew tap crisidev/homebrew-chunkwm
Updating Homebrew...
~ » brew install chunkwm
Error: chunkwm: /usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:4: syntax error, unexpected <<, expecting keyword_end
<<<<<<< HEAD
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:15: syntax error, unexpected ===, expecting keyword_end
=======
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:18: syntax error, unexpected >>, expecting keyword_end
>>>>>>> Revert "Merge pull request #11 from dominiklohmann/patch-1"
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:30: syntax error, unexpected <<
<<<<<<< HEAD
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:32: syntax error, unexpected ===, expecting keyword_end
=======
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:38: syntax error, unexpected >>, expecting keyword_end
>>>>>>> Revert "Merge pull request #11 from dominiklohmann/patch-1"
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:70: syntax error, unexpected <<, expecting keyword_end
<<<<<<< HEAD
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:74: syntax error, unexpected ===, expecting keyword_end
=======
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:80: syntax error, unexpected >>, expecting keyword_end
>>>>>>> Revert "Merge pull request #11 from dominiklohmann/patch-1"
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:109: syntax error, unexpected ===, expecting keyword_end
=======
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:112: syntax error, unexpected *
* Edit ~/.chunkwmrc and change line
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:116: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
* Link plugins into your home directory
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:119: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
... The first time chunkwm-core is ran, it will request access ...
... ^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:119: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
...me chunkwm-core is ran, it will request access to the access...
... ^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:120: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
...s been granted, the application must be restarted.
... ^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:121: syntax error, unexpected ':'
NOTE: accessibility API needs to b...
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:123: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
... The chunkwm-tiling plugin requires 'displays have sepa...
... ^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:123: syntax error, unexpected tIDENTIFIER, expecting keyword_end
...splays have separate spaces' to be enabled.
... ^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:125: unknown regexp options - gthb
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:126: syntax error, unexpected tIDENTIFIER, expecting keyword_end
Brew formula is available: brew install koekeishiya/formulae/khd
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:126: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
Brew formula is available: brew install koekeishiya/formulae/khd
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:131: syntax error, unexpected >>, expecting keyword_end
>>>>>>> Revert "Merge pull request #11 from dominiklohmann/patch-1"
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:136: syntax error, unexpected <<, expecting keyword_end
<<<<<<< HEAD
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:220: syntax error, unexpected ===, expecting keyword_end
=======
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:248: syntax error, unexpected >>, expecting keyword_end
>>>>>>> Revert "Merge pull request #11 from dominiklohmann/patch-1"
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:254: syntax error, unexpected end-of-input, expecting keyword_end
~ » clear
~ » clear
~ » brew install chunkwm
Error: chunkwm: /usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:4: syntax error, unexpected <<, expecting keyword_end
<<<<<<< HEAD
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:15: syntax error, unexpected ===, expecting keyword_end
=======
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:18: syntax error, unexpected >>, expecting keyword_end
>>>>>>> Revert "Merge pull request #11 from dominiklohmann/patch-1"
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:30: syntax error, unexpected <<
<<<<<<< HEAD
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:32: syntax error, unexpected ===, expecting keyword_end
=======
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:38: syntax error, unexpected >>, expecting keyword_end
>>>>>>> Revert "Merge pull request #11 from dominiklohmann/patch-1"
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:70: syntax error, unexpected <<, expecting keyword_end
<<<<<<< HEAD
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:74: syntax error, unexpected ===, expecting keyword_end
=======
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:80: syntax error, unexpected >>, expecting keyword_end
>>>>>>> Revert "Merge pull request #11 from dominiklohmann/patch-1"
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:109: syntax error, unexpected ===, expecting keyword_end
=======
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:112: syntax error, unexpected *
* Edit ~/.chunkwmrc and change line
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:116: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
* Link plugins into your home directory
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:119: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
... The first time chunkwm-core is ran, it will request access ...
... ^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:119: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
...me chunkwm-core is ran, it will request access to the access...
... ^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:120: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
...s been granted, the application must be restarted.
... ^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:121: syntax error, unexpected ':'
NOTE: accessibility API needs to b...
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:123: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
... The chunkwm-tiling plugin requires 'displays have sepa...
... ^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:123: syntax error, unexpected tIDENTIFIER, expecting keyword_end
...splays have separate spaces' to be enabled.
... ^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:125: unknown regexp options - gthb
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:126: syntax error, unexpected tIDENTIFIER, expecting keyword_end
Brew formula is available: brew install koekeishiya/formulae/khd
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:126: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
Brew formula is available: brew install koekeishiya/formulae/khd
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:131: syntax error, unexpected >>, expecting keyword_end
>>>>>>> Revert "Merge pull request #11 from dominiklohmann/patch-1"
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:136: syntax error, unexpected <<, expecting keyword_end
<<<<<<< HEAD
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:220: syntax error, unexpected ===, expecting keyword_end
=======
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:248: syntax error, unexpected >>, expecting keyword_end
>>>>>>> Revert "Merge pull request #11 from dominiklohmann/patch-1"
^
/usr/local/Homebrew/Library/Taps/crisidev/homebrew-chunkwm/chunkwm.rb:254: syntax error, unexpected end-of-input, expecting keyword_end
~ »
Anything else i need to provide ?
crisidev commented
Somehow the local tap got corrupted.
This should fix your issue:
brew untap crisidev/homebrew-chunkwm
brew tap crisidev/homebrew-chunkwm
brew install chunkwm
Marschelloss commented
It did. Thank you very much.