TR kizaki Tech Memo

when you got failed yarn install,check the version of setting in .yarnrc.yml”yarn set version”

└─(19:21:54 on main ✖ ✹ ✭)──> yarn set version 3.5.0        1 ↵ ──(Sun,Oct22)─┘
➤ YN0000: Retrieving https://repo.yarnpkg.com/3.5.0/packages/yarnpkg-cli/bin/yarn.js
➤ YN0000: Saving the new release in .yarn/releases/yarn-3.5.0.cjs
➤ YN0000: Done in 1s 857ms
┌─(~)──────────────────────────(tet

//.yarnrc.yml ref: https://yarnpkg.com/configuration/yarnrc

defaultSemverRangePrefix: ""

nodeLinker: node-modules

plugins:
  - path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
    spec: "@yarnpkg/plugin-interactive-tools"
  - path: .yarn/plugins/@yarnpkg/plugin-production-install.cjs
    spec: "https://gitlab.com/Larry1123/yarn-contrib/-/raw/master/packages/plugin-production-install/bundles/@yarnpkg/plugin-production-install.js"
  - path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
    spec: "@yarnpkg/plugin-typescript"

yarnPath: .yarn/releases/yarn-3.5.0.cjs

yarn install 成功

└─(19:33:30 on main ✖ ✹ ✭)──> yarn install                      ──(Sun,Oct22)─┘
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @parcel/node-resolver-core@npm:3.1.0 doesn't provide @parcel/core (pb98b3), requested by @parcel/fs
➤ YN0060: │ @parcel/optimizer-htmlnano@npm:2.10.0 provides svgo (p88edf) with version 2.8.0, which doesn't satisfy what htmlnano requests
➤ YN0002: │ @parcel/types@npm:2.10.0 doesn't provide @parcel/core (p0e452), requested by @parcel/fs
➤ YN0002: │ @parcel/types@npm:2.10.0 doesn't provide @parcel/core (p9a935), requested by @parcel/workers
➤ YN0002: │ @parcel/types@npm:2.10.0 doesn't provide @parcel/core (pef1e6), requested by @parcel/cache
➤ YN0002: │ @parcel/types@npm:2.10.0 doesn't provide @parcel/core (pf98e2), requested by @parcel/package-manager
➤ YN0002: │ web3-eth-abi@npm:4.1.3 doesn't provide typescript (pfb1a2), requested by abitype
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ fsevents@patch:fsevents@npm%3A2.3.2#~builtin<compat/fsevents>::vers
➤ YN0013: │ resolve@patch:resolve@npm%3A1.22.8#~builtin<compat/resolve>::versio
➤ YN0013: │ typescript@patch:typescript@npm%3A5.2.2#~builtin<compat/typescript>
➤ YN0066: │ typescript@patch:typescript@npm%3A5.2.2#~builtin<compat/typescript>::version=5.2.2&hash=85af82: Cannot apply hunk #1
➤ YN0019: │ fsevents-patch-3340e2eb10-8.zip appears to be unused - removing
➤ YN0019: │ resolve-patch-f6b5304cab-5479b7d431.zip appears to be unused - remo
➤ YN0019: │ typescript-patch-50a0039275-07106822b4.zip appears to be unused - r
➤ YN0000: └ Completed in 6s 335ms
➤ YN0000: ┌ Link step
➤ YN0007: │ msgpackr-extract@npm:3.0.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @swc/core@npm:1.3.94 [caf3b] must be built because it never has been before or the last one failed
➤ YN0007: │ lmdb@npm:2.8.5 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 14s 12ms
➤ YN0000: Done with warnings in 20s 629ms