我的报错信息如下:
ActionView::Template::Error (dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.60.dylib
Referenced from: /usr/local/bin/node
Reason: image not found
):
解决方案:
-
brew uninstall --force node# 可能会失败, 看错误提示, 我的提示需要运行(brew uninstall --ignore-dependencies node) -
brew uninstall icu4c && brew install icu4c# 这行执行有错误或警告提示,先不管 -
brew unlink icu4c && brew link icu4c –force# 这行执行有错误或警告提示,先不管 -
brew install node# 安装node -
node -v# 如果成功显示node的版本了,安装成功, 问题得到解决.











网友评论