马春杰杰 Exit Reader Mode

dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.67.dylib

运行flood提示:

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

这是因为node版本的问题,升级一下node即可。如:

brew upgrade node
==> Upgrading 1 outdated package:
node 15.3.0 -> 16.7.0
==> Upgrading node
  15.3.0 -> 16.7.0 

==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/libuv-1.42.0.catali
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/node-16.7.0.catalin
#=#=-#  #                                                                     
curl: (22) The requested URL returned error: 404 
Warning: Bottle missing, falling back to the default domain...
==> Downloading https://ghcr.io/v2/homebrew/core/node/manifests/16.7.0
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/node/blobs/sha256:0bd7325e2ad52
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################## 100.0%
==> Installing dependencies for node: libuv
==> Installing node dependency: libuv
==> Pouring libuv-1.42.0.catalina.bottle.tar.gz
?  /usr/local/Cellar/libuv/1.42.0: 49 files, 3.4MB
==> Installing node
==> Pouring node--16.7.0.catalina.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
?  /usr/local/Cellar/node/16.7.0: 2,504 files, 48.3MB
Removing: /usr/local/Cellar/node/15.3.0... (3,269 files, 55.4MB)
==> Upgrading 1 dependent:
yarn 1.22.10 -> 1.22.11
==> Upgrading yarn
  1.22.10 -> 1.22.11 

==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/yarn-1.22.11.all.bo
######################################################################## 100.0%
==> Pouring yarn-1.22.11.all.bottle.tar.gz
?  /usr/local/Cellar/yarn/1.22.11: 15 files, 5MB
Removing: /usr/local/Cellar/yarn/1.22.10... (15 files, 5MB)
Removing: /Users/mcj/Library/Caches/Homebrew/yarn--1.22.10.tar.gz... (1.2MB)
==> Checking for dependents of upgraded formulae...
==> No broken dependents found!
==> Caveats
==> node
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

 

本文最后更新于2021年8月31日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!