Unresolved module nanoid on MacOS 10.15/iOS 13/Node 10.20/ipfs 0.43.3

I am installing ipfs 43.3 on MacOS 10.15 /Nodejs 10.20/LiquidCore 0.7.8 with yarn add ipfs. After installation, there are 3 modules unresolvable: utf-8-validate, bufferutil and nanoid. The utf-8-validate and bufferutil were installed successfully. However the installation of nanoid has warning:

yarn add nanoid yarn add v1.22.0 warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... warning Pattern ["nanoid@^3.1.5"] is trying to unpack in the same destination "/Users/zhouyiyun/Library/Caches/Yarn/v6/npm-nanoid-3.1.5-56da1bb76b619391fc61625e8b4e4bff309b9942-integrity/node_modules/nanoid" as pattern ["nanoid@^3.0.2","nanoid@^3.1.3","nanoid@^3.0.2"]. This could result in non-deterministic behavior, skipping. [3/4] 🔗 Linking dependencies... warning "ipfs > prometheus-gc-stats@0.6.2" has incorrect peer dependency "prom-client@>= 10 < 12". //<<<<<<==== warning [4/4] 🔨 Building fresh packages... success Saved 1 new dependency. info Direct dependencies └─ nanoid@3.1.5 info All dependencies └─ nanoid@3.1.5 liquidcore postinstall
Pod config complete
:sparkles: Done in 12.60s.
zhouyiyundeAir:nodejs_lc zhouyiyun$ pod install
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete! There are 3 dependencies from the Podfile and 3 total pods installed.

Will an old version of nanoid work here?