美文网首页我爱编程
Error referenced from node

Error referenced from node

作者: TorvardsDB | 来源:发表于2018-06-07 00:10 被阅读0次

我的报错信息如下:

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

解决方案:

  1. brew uninstall --force node # 可能会失败, 看错误提示, 我的提示需要运行(brew uninstall --ignore-dependencies node)
  2. brew uninstall icu4c && brew install icu4c # 这行执行有错误或警告提示,先不管
  3. brew unlink icu4c && brew link icu4c –force # 这行执行有错误或警告提示,先不管
  4. brew install node # 安装node
  5. node -v # 如果成功显示node的版本了,安装成功, 问题得到解决.

相关文章

网友评论

    本文标题:Error referenced from node

    本文链接:https://www.haomeiwen.com/subject/mavisftx.html