I am attempting to get node.js to run, I've installed it through brew. Brew doctor informs me that node is not linked. When I attempt to link node I get an error:
Dalans-MacBook-Pro:~ dalanmiller$ brew link node
Linking /usr/local/Cellar/node/6.1.0...
Error: Could not symlink share/systemtap/tapset/node.stp
/usr/local/share/systemtap/tapset is not writable.
Can you provide the full brew doctor output? Thanks
`Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: A newer Command Line Tools release is available.
Update them from Software Update in the App Store.
Warning: You have external commands with conflicting names.
Found command brew-cask in following places:
/usr/local/bin/brew-cask
/usr/local/Library/Taps/caskroom/homebrew-cask/cmd/brew-cask.rb
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run brew link on these:
node
xz
Warning: Your Xcode (7.3) is outdated
Please update to Xcode 7.3.1.
Xcode can be updated from the App Store.`
Please also have a look at our Troubleshooting Guide, follow (all of) the steps therein, and post the requested information here so we can help you better with your problem. Thanks!
Ok, I have a Gist if you need it: https://gist.github.com/anonymous/f675385468f52797722fe460e9dc3d21
Have you tried following this advice from the Check for common issues section of the document I linked you to?
/usr/local. If you鈥檙e unsure what to do, you can sudo chown -R $(whoami) /usr/local.I believe this should resolve your trouble.
Regarding this output from brew doctor:
Warning: You have external commands with conflicting names. Found command brew-cask in following places: /usr/local/bin/brew-cask /usr/local/Library/Taps/caskroom/homebrew-cask/cmd/brew-cask.rb
You can run brew uninstall brew-cask. It's no longer necessary to install brew-cask as a formula, as nowadays tapping Caskroom/cask is sufficient.
Have you tried following this advice from the Check for common issues section of the document I linked you to?
If things fail with permissions errors, check the permissions in /usr/local. If you鈥檙e unsure what to do, you can sudo chown -R $(whoami) /usr/local.
I believe this should resolve your trouble.
This worked, thank you!
Most helpful comment
Have you tried following this advice from the Check for common issues section of the document I linked you to?
/usr/local. If you鈥檙e unsure what to do, you cansudo chown -R $(whoami) /usr/local.I believe this should resolve your trouble.
Regarding this output from
brew doctor:You can run
brew uninstall brew-cask. It's no longer necessary to installbrew-caskas a formula, as nowadays tappingCaskroom/caskis sufficient.