node dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.60.dylib のエラーでたら…メモ

npmコマンド打ったらエラーがでてきたので、メモ

$ npm 
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.60.dylib
  Referenced from: /usr/local/bin/node
  Reason: image not found
Abort trap: 6

nodeでも同じようなエラーがでていた

$ node
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.60.dylib
  Referenced from: /usr/local/bin/node
  Reason: image not found
Abort trap: 6

あわてず、再インストール

$ brew reinstall npm