Installing Node.js with homebrew issue -


i'm trying install node.js homebrew on os x i'm running few issues , i'm not quite sure how fix them. when run brew doctor following output:

warning: python installed @ /library/frameworks/python.framework  homebrew supports building against system-provided python or brewed python. in particular, pythons installed /library can interfere other software installs.  warning: have unlinked kegs in cellar leaving kegs unlinked can lead build-trouble , cause brews depend on kegs fail run once built. run `brew link` on these:      node  warning: have uncommitted modifications homebrew if surprise you, should stash these modifications. stashing returns homebrew pristine state can undone should later need reason.     cd /usr/local/library && git stash && git clean -d -f error: homebrew doesn't know compiler versions ship version of xcode (5.1). please `brew update` , if doesn't help, file issue output of `brew --config`:   https://github.com/homebrew/homebrew/issues  note track stable, released versions of xcode.  thanks! 

i tried run brew link node , got following message:

linking /usr/local/cellar/node/0.10.26... warning: not link node. unlinking...  error: not symlink file: /usr/local/cellar/node/0.10.26/lib/dtrace/node.d target /usr/local/lib/dtrace/node.d exists. may need delete it. force link , overwrite other conflicting files, do:   brew link --overwrite formula_name  list files deleted:   brew link --overwrite --dry-run formula_name 

so tried run brew link --overwrite node , got following error:

linking /usr/local/cellar/node/0.10.26... warning: not link node. unlinking...  error: permission denied - /usr/local/lib/dtrace/node.d 

i stuck , not sure do. appreciated.

i got issue solved running:

sudo chown -r `whoami` /usr/local 

Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -