14
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

homebrewインストールができない

Posted at

macOS10.9.5でhomebrew をインストール。
ターミナルで
①brew install nodeを実行すると
→「node-0.12.4 already installed, it's just not linked」(リンクが張られてない)

②brew link nodeでリンクを張ろうとすると
→Linking /usr/local/Cellar/node/0.12.4...
Error: Could not symlink include/node/android-ifaddrs.h
/usr/local/include/node is not writable.
権限がない?とでます。

この時点でbrew doctorを実行すると

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: 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

brew link nodeをしなさい。ということで②に戻ってしまいます。
どうすればよいのでしょうか

14
10
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?