【osx】 brew install node问题

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

inspired by this gist

basically,everytime it pops

Could not symlink lib/dtrace/node.d
Target /usr/local/lib/dtrace/node.d
already exists. You may want to remove it:
  rm '/usr/local/lib/dtrace/node.d'

execute rm command

WineHouse:~ yjatt$ rm '/usr/local/lib/dtrace/node.d'
override rw-r--r--  root/admin for /usr/local/lib/dtrace/node.d? yes

and everytime it pops

Could not symlink lib/dtrace/node.d
/usr/local/lib/dtrace is not writable.

execute

sudo chown -R $USER /usr/local/lib/dtrace

after repeat couples of times, node will be installed just fine.

转载于:https://my.oschina.net/guesswhoamI/blog/521195

你可能感兴趣的:(【osx】 brew install node问题)