运行flood
提示:
1 2 3 4 |
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
即可。如:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
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 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!