In 2010 I set up this blog on Tumblr mostly due to the ease of publishing and not having to worry about the hosting. I also went through two…
Recently Node.js has made some changes so that it no longer installs on OS X via homebrew if you don’t have Xcode installed.
If you run
brew install nodejs, you will get the following error:
\> Error: Failed executing: make install (node.rb:28)
And if you run
brew install -v nodejs, you will discover this line:
\> xcode-select: Error: No Xcode is selected. Use xcode-select -switch , or see the xcode-select manpage (man xcode-select) for further information.
The fix? It’s actually quite easy, simply do:
sudo xcode-select --switch /usr/bin
And voila! You can now install Node.js just fine. :)