Cannot brew install node – Warning: The post-install step did not complete successfully

There are two steps involved. Simply run these four commands: sudo chown -R `whoami`:admin /usr/local/include/node sudo chown -R `whoami`:admin /usr/local/bin sudo chown -R `whoami`:admin /usr/local/share sudo chown -R `whoami`:admin /usr/local/lib/dtrace Finally, run the overwrite command: brew link –overwrite node

brew services start mysql vs mysql.server start

brew services (services in general) will restart automatically after rebooting; the other (mysql.server start) will not. That is the difference. Executing the command with no options should yield, tigger2:Downloads efrisch$ brew services brew services [-v|–verbose] [list | run | start | stop | restart | cleanup] […] Easily start and stop formulae via launchctl. With … Read more

Error: [email protected]: unknown version :mountain_lion

Referring to the tutorial, the following steps are executed to install [email protected] brew update cd $( brew –prefix )/Homebrew/Library/Taps/homebrew/homebrew-core # below is the last commit containing [email protected] with homebrew git checkout 9ba3d6ef8891e5c15dbdc9333f857b13711d4e97 Formula/[email protected] # here is where the error occurs brew install [email protected] Solution turns out line 25 of [email protected] formula file checked out in … Read more

Homebrew fatal: needed a single revision (MacOs Sierra)

I had the same problem after upgrading to Sierra. In addition to brew –prefix, which displays Homebrew’s install path, there’s also brew –repository, which displays where it’s .git directory is located. man brew says that claims that “for standard installs, the prefix and repository are the same directory”. Either the man page is out of … Read more

Homebrew + Python on mac os x 10.8: Fatal Python error: PyThreadState_Get: no current thread importing mapnik

It looks like you are running the homebrew python but either boost python or mapnik’s python bindings ended up linking against the system python provided by apple. If a full clean and reinstall of boost and Mapnik does not fix this then I recommend stopping by #mapnik irc on freenode for help debugging. Generally to … Read more

Error when trying to brew update

You can fix this issue by running two commands: cd “$(brew –repo)” # Navigate to Homebrew’s git repository git prune && git gc # Remove loose objects To check : cd – # Go back to the original location brew update Output: Already up-to-date. Error should be fixed and gone! 🙂

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)