/usr/local/share/doc/node is not writable.

Shell
sudo chown -R $(whoami) $(brew --prefix)/*
Source

Also in Shell: