Node 0.10.0 and Xcode Command Lines fix
After installing node.js v 0.10.0, and changing /usr/lib/node_modules permissions to my preferred user to avoid sudo for npm installations, I found npm failed to install modules because it couldn't find Xcode.
As I don't use Xcode, but I installed the command line tools, the fix is:
sudo xcode-select -switch /
Written by Jose Miguel
Related protips
1 Response
Update: I came across to the same issue running "npm install" to update node modules, and it seemed the path needs an update so please now run:
sudo xcode-select --switch /usr/bin
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Xcode
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#