Homebrewをインストールして、「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 or file an issue; just ignore this. Thanks!
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected header files:
/usr/local/include/node/cppgc/allocation.h
/usr/local/include/node/cppgc/common.h
.
.
.
これらの全てのファイルを消すといいということだったので消した。
cd ~/../../usr/local/include/
open .
ファイルの場所までとび、開けて、エラー内で記されているファイルを消す。
私は選ぶのが面倒だったため、一度全てを消去し、その後Homebrewもアンインストールして、再度インストールを行った。