🌴

パッケージマネージャ管理でvolta v1.1.1 を使う

2024/02/06に公開
  • created: 2023-10-22
  • updated: 2024-02-06

volta v1.1.1 を使う

volta。directoryごとにしっかりpin付けmappingできてしっかりしているなと思った。npm initでpackage.jsonを新しいprojectに作るのがある意味とても新鮮だった。業務と関係のない自分のlocal home directoryは最新のpackage managerで固定しておきたい。→ pnpmのpathをvoltaでもう一度通すか通さないか。

root repository の最新

└─(11:34:53 on main ✖ ✹ ✭)──> volta list                           ──(Sun,Oct22)─┘
⚡️ Currently active tools:

    Node: v21.0.0 (current @ /Users/$HOME/package.json)
    pnpm: v8.6.10 (default)
    Yarn: v4.0.0-rc.48 (current @ /Users/$HOME/package.json)
    Tool binaries available:
        gatsby (default)
        ntl, netlify (default)
        npm-check-updates, ncu (default)
        pm2, pm2-dev, pm2-docker, pm2-runtime (default)
        pnpm, pnpx (default)
        solcjs (current @ /Users/$HOME/package.json)
        truffle (default)
        tsc, tsserver (current @ /Users/$HOME/package.json)

See options for more detailed reports by running `volta list --help`.

package.json update before

{
  "packageManager": "pnpm@8.7.6",
  "dependencies": {
    "@ethereumjs/common": "^3.2.0",
    "@ethereumjs/tx": "^4.2.0",
    "@lezer/common": "^1.0.4",
    "@lezer/lr": "^1.3.10",
    "@nestjs/cli": "^9.5.0",
    "@noble/hashes": "^1.3.2",
    "@noble/secp256k1": "^1.7.1",
    "@openzeppelin/contracts": "^4.9.3",
    "@parcel/transformer-sass": "^2.9.3",
    "@sindresorhus/is": "^5.6.0",
    "aos": "^2.3.4",
    "axios": "^1.5.0",
    "babel": "^6.23.0",
    "express": "^4.18.2",
    "next": "^13.5.6",
    "parcel": "2.8.2",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-scripts": "^5.0.1",
    "solc": "^0.8.21",
    "tachyons": "^4.12.0",
    "typescript": "^4.9.5",
    "web3": "^4.2.0"
  },
  "volta": {
    "node": "21.0.0",
    "yarn": "4.0.0-rc.48"
  }
}

after

{
  "packageManager": "pnpm@8.9.2",
  "dependencies": {
    "@ethereumjs/common": "^3.2.0",
    "@ethereumjs/tx": "^4.2.0",
    "@lezer/common": "^1.0.4",
    "@lezer/lr": "^1.3.10",
    "@nestjs/cli": "^9.5.0",
    "@noble/hashes": "^1.3.2",
    "@noble/secp256k1": "^1.7.1",
    "@openzeppelin/contracts": "^4.9.3",
    "@parcel/transformer-sass": "^2.9.3",
    "@sindresorhus/is": "^5.6.0",
    "aos": "^2.3.4",
    "axios": "^1.5.0",
    "babel": "^6.23.0",
    "express": "^4.18.2",
    "next": "^13.5.6",
    "parcel": "2.8.2",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-scripts": "^5.0.1",
    "solc": "^0.8.21",
    "tachyons": "^4.12.0",
    "typescript": "^4.9.5",
    "web3": "^4.2.0"
  },
  "volta": {
    "node": "19.9.0",
    "yarn": "4.0.0-rc.53",
    "pnpm": "8.9.2"
  },
  "engines": {
    "node": ">=10",
    "pnpm": ">=3"
  }
}

こんな感じでlocalのpnpmも動くし、voltaのpnpmのpathも通してみた

# volta
export VOLTA_HOME="$HOME/.volta"
export PATH="$VOLTA_HOME/bin:$PATH"
export VOLTA_FEATURE_PNPM=1 //再追加(pnpmをlocalから使うと決めた時にdeleted)

# pnpm
export PNPM_HOME="/Users/$HOME/Library/pnpm"
case ":$PATH:" in
  *":$PNPM_HOME:"*) ;;
  *) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end

pnpm -vでversionが確認できていない

(11:45:01 on main ✖ ✹ ✭)──> volta pin pnpm@8.9.2                 ──(Sun,Oct22)─┘
error: Only node and yarn can be pinned in a project

Use `npm install` or `yarn add` to select a version of pnpm for this project.

rootのpnpmそのものをupgradeしたら確認できた

└─(12:03:23 on main ✖ ✹ ✭)──> curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=8.9.2  sh -   
==> Downloading pnpm binaries 8.9.2WARN  using --force I sure hope you know what you are doing
Copying pnpm CLI from /private/var/folders/7c/xsq3zg0d4ybdxd8qvb6wgypw0000gn/T/tmp.oJhUWsjK/pnpm to /Users/$HOME/Library/pnpm/pnpm
No changes to the environment were made. Everything is already up to date.
┌─(~)───────────────────────────┐
└─(12:05:52 on main ✖ ✹ ✭)──> pnpm -v                           ──(Sun,Oct22)─┘
8.9.2

*Run "pnpm add -g pnpm" for update(追記 6th/Feb/2024)

   ╭──────────────────────────────────────────────────────────────────╮
   │                                                                  │
   │                Update available! 8.15.0 → 8.15.1.                │
   │   Changelog: https://github.com/pnpm/pnpm/releases/tag/v8.15.1   │
   │                Run "pnpm add -g pnpm" to update.                 │
   │                                                                  │
   │      Follow @pnpmjs for updates: https://twitter.com/pnpmjs      │
   │                                                                  │
   ╰──────────────────────────────────────────────────────────────────╯

nodeのversionが確認できていない

└─(12:09:37 on main ✖ ✹ ✭)──> node -v                     130──(Sun,Oct22)─┘
Volta error: Could not unpack pnpm v8.9.2

Please ensure the correct version is specified.
Error details written to /Users/$HOME/.volta/log/volta-error-2023-10-22_12_12_48.971.log

npmやnodeのversionが -vで確認できないのは、lock fileのlockfileversionに問題があるかも?もしくはvoltaのpnpmのPATHを消せば、正常に起動する可能性あり。→ 6.1にpnpm-lock.yamlをupdate

*追記...v8.15.1現在はlockfileversion 6.0 が推奨(6th/Feb/2024現在)

lockfileVersion: '6.1'

それかnodeをv21にupdateしすぎたからかもしれん。

  • nodeのversionを戻してみる
└─(12:31:48 on main ✖ ✹ ✭)──> volta pin node@19.9.0             ──(Sun,Oct22)─┘
success: pinned node@19.9.0 (with npm@9.6.3) in package.json
┌─(~)───────────────────────────┐
└─(12:32:04 on main ✖ ✹ ✭)──> volta pin npm@bundled             ──(Sun,Oct22)─┘
success: set package.json to use bundled npm (currently 9.6.3)

pnpm 例外: pnpmでもnodeのversion管理をcorepackで可能。まだvoltaで管理したい

You may use the pnpm env command then to install Node.js.

pnpm env does not include the binaries for Corepack. If you want to use Corepack to install other package managers, you need to install it separately (e.g. pnpm add -g corepack).


そもそもrootのpnpmを最新の8.9.2にしたら具合が悪い。このinstallが具合が悪かったのか?→特にpnpm@8.9.2に問題はなさそう

└─(12:03:23 on main ✖ ✹ ✭)──> curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=8.9.2  sh -   
==> Downloading pnpm binaries 8.9.2WARN  using --force I sure hope you know what you are doing
Copying pnpm CLI from /private/var/folders/7c/xsq3zg0d4ybdxd8qvb6wgypw0000gn/T/tmp.oJhUWsjK/pnpm to /Users/$HOME/Library/pnpm/pnpm
No changes to the environment were made. Everything is already up to date.
  • voltaのpnpmのPATHをdeleteしてみる。(いまのところpnpmがlocalだから問題ないjはず) ⇒これでsuccess!!

Conclusion for solved error

  • voltaのpnpmのPATHをdelete on .zshrc
  • nodeのversionをv19.9.0に戻した。
  • pnpm-lock.yaml の lockfileversion をv6.1にupgrade
  • package.jsonのpackage managerを pnpm v8.9.2 にupgrade
└─(13:15:02 on main ✖ ✹ ✭)──> which pnpm                        ──(Sun,Oct22)─┘
/Users/$HOME/Library/pnpm/pnpm
┌─(~)───────────────────────────┐
└─(13:15:16 on main ✖ ✹ ✭)──> node -v                           ──(Sun,Oct22)─┘
v19.9.0
┌─(~)───────────────────────────┐
└─(13:15:20 on main ✖ ✹ ✭)──> npm -v                            ──(Sun,Oct22)─┘
9.6.3
┌─(~)───────────────────────────┐
└─(13:50:01 on main ✖ ✹ ✭)──> yarn -v                           ──(Sun,Oct22)─┘
3.2.0
┌─(~)───────────────────────────┐
└─(13:50:09 on main ✖ ✹ ✭)──> pnpm -v                           ──(Sun,Oct22)─┘
8.9.2

appendix

package.json上のnpmのupdate最新情報を管理したい

npm-check-updatesをinstall

ncuコマンドで最新versionを確認できる

└─(13:52:28 on main ✖ ✹ ✭)──> npm i -g npm-check-updates        ──(Sun,Oct22)─┘

added 315 packages in 35s

66 packages are looking for funding
  run `npm fund` for details
┌─(~)───────────────────────────┐
└─(18:04:56 on main ✖ ✹ ✭)──> ncu                               ──(Sun,Oct22)─┘
Checking /Users/$HOME/package.json
[====================] 23/23 100%

 @ethereumjs/common         ^3.2.0^4.0.0
 @ethereumjs/tx             ^4.2.0^5.0.0
 @lezer/common              ^1.0.4^1.1.0
 @lezer/lr                 ^1.3.10^1.3.13
 @nestjs/cli                ^9.5.0^10.1.18
 @noble/secp256k1           ^1.7.1^2.0.0
 @openzeppelin/contracts    ^4.9.3^5.0.0
 @parcel/transformer-sass   ^2.9.3^2.10.0
 @sindresorhus/is           ^5.6.0^6.0.1
 axios                      ^1.5.0^1.5.1
 parcel                      2.8.22.10.0
 typescript                 ^4.9.5^5.2.2

Run ncu -u to upgrade package.json

global installの位置を把握

└─(18:10:07 on main ✖ ✹ ✭)──> npm root -g                       ──(Sun,Oct22)─┘
/Users/$HOME/.volta/tools/image/node/19.9.0/lib/node_modules
┌─(~)───────────────────────────┐
└─(18:10:14 on main ✖ ✹ ✭)──> pnpm root -g                      ──(Sun,Oct22)─┘
/Users/$HOME/Library/pnpm/global/5/node_modules
└─(18:05:20 on main ✖ ✹ ✭)──> ncu -u                            ──(Sun,Oct22
Upgrading /Users/$HOME/package.json
[====================] 23/23 100%

 @ethereumjs/common         ^3.2.0^4.0.0
 @ethereumjs/tx             ^4.2.0^5.0.0
 @lezer/common              ^1.0.4^1.1.0
 @lezer/lr                 ^1.3.10^1.3.13
 @nestjs/cli                ^9.5.0^10.1.18
 @noble/secp256k1           ^1.7.1^2.0.0
 @openzeppelin/contracts    ^4.9.3^5.0.0
 @parcel/transformer-sass   ^2.9.3^2.10.0
 @sindresorhus/is           ^5.6.0^6.0.1
 axios                      ^1.5.0^1.5.1
 parcel                      2.8.22.10.0
 typescript                 ^4.9.5^5.2.2

Run pnpm install to install new versions.

pnpmに反映

└─(18:08:43 on main ✖ ✹ ✭)──> pnpm install                      ──(Sun,Oct22)─┘
 WARNMoving @ethereumjs/common that was installed by a different package manager to "node_modules/.ignored"WARNMoving @ethereumjs/tx that was installed by a different package manager to "node_modules/.ignored"WARNMoving @lezer/common that was installed by a different package manager to "node_modules/.ignored"WARNMoving @lezer/lr that was installed by a different package manager to "node_modules/.ignored"WARNMoving @nestjs/cli that was installed by a different package manager to "node_modules/.ignored"WARN18 other warnings
 WARN  deprecated babel@6.23.0: In 6.x, the babel package has been deprecated in favor of babel-cli. Check https://opencollective.com/babel to support the Babel maintainers
Downloading registry.npmjs.org/typescript/5.2.2: 7.23 MB/7.23 MB, done
Downloading registry.npmjs.org/next/13.5.6: 17.52 MB/17.52 MB, done
Downloading registry.npmjs.org/@parcel/rust/2.10.0: 52.55 MB/52.55 MB, done
Downloading registry.npmjs.org/@next/swc-darwin-x64/13.5.6: 35.16 MB/35.16 MB, donenloading registry.npmjs.org/@next/swc-darwin-x64/13.5.6: 35.13 MB/35.16 MB
Downloading registry.npmjs.org/@swc/core-darwin-x64/1.3.94: 14.03 MB/14.03 MB, donenloading registry.npmjs.org/@swc/core-darwin-x64/1.3.94: 13.08 MB/14.03 MBWARN12 deprecated subdependencies found: @babel/plugin-proposal-class-properties@7.18.6, @babel/plugin-proposal-nullish-coalescing-operator@7.18.6, @babel/plugin-proposal-numeric-separator@7.18.6, @babel/plugin-proposal-optional-chaining@7.21.0, @babel/plugin-proposal-private-methods@7.18.6, @babel/plugin-proposal-private-property-in-object@7.21.11, rollup-plugin-terser@7.0.2, sourcemap-codec@1.4.8, stable@0.1.8, svgo@1.3.2, w3c-hr-time@1.0.2, workbox-cacheable-response@6.6.0
Packages: +151 -365
++++++++++++++++++++++--------------------------------------------------------
Progress: resolved 1498, reused 1322, downloaded 130, added 151, done
node_modules/.pnpm/@swc+core@1.3.94/node_modules/@swc/core: Running postinstall node_modules/.pnpm/@swc+core@1.3.94/node_modules/@swc/core: Running postinstall script, done in 2.2s
node_modules/.pnpm/lmdb@2.8.5/node_modules/lmdb: Running install script, done in 2.2s

dependencies:
- @ethereumjs/common
+ @ethereumjs/common 4.0.0
- @ethereumjs/tx
+ @ethereumjs/tx 5.0.0
- @lezer/common
+ @lezer/common 1.1.0
- @lezer/lr
+ @lezer/lr 1.3.13
- @nestjs/cli
+ @nestjs/cli 10.1.18
+ @noble/hashes 1.3.2
- @noble/secp256k1
+ @noble/secp256k1 2.0.0
- @openzeppelin/contracts
+ @openzeppelin/contracts 5.0.0
- @parcel/transformer-sass
+ @parcel/transformer-sass 2.10.0
- @sindresorhus/is
+ @sindresorhus/is 6.0.1
+ aos 2.3.4
- axios
+ axios 1.5.1
+ babel 6.23.0 deprecated
+ express 4.18.2
+ next 13.5.6
- parcel
+ parcel 2.10.0
+ react 18.2.0
+ react-dom 18.2.0
- react-scripts
+ react-scripts 5.0.1
+ solc 0.8.21
+ tachyons 4.12.0
- typescript
+ typescript 5.2.2
- web3
+ web3 4.2.0WARNIssues with peer dependencies found
.
├─┬ @parcel/transformer-sass 2.10.0
│ └─┬ @parcel/plugin 2.10.0
│   └─┬ @parcel/types 2.10.0
│     └─┬ @parcel/cache 2.10.0
│       ├── ✕ missing peer @parcel/core@^2.10.0
│       └─┬ @parcel/fs 2.10.0
│         ├── ✕ missing peer @parcel/core@^2.10.0
│         └─┬ @parcel/types 2.10.0
│           └─┬ @parcel/package-manager 2.10.0
│             ├── ✕ missing peer @parcel/core@^2.10.0
│             └─┬ @parcel/fs 2.10.0
│               ├── ✕ missing peer @parcel/core@^2.10.0
│               └─┬ @parcel/workers 2.10.0
│                 └── ✕ missing peer @parcel/core@^2.10.0
├─┬ react-scripts 5.0.1
│ ├── ✕ unmet peer typescript@"^3.2.1 || ^4": found 5.2.2
│ └─┬ eslint-config-react-app 7.0.1
│   └─┬ eslint-plugin-flowtype 8.0.3
│     ├── ✕ missing peer @babel/plugin-syntax-flow@^7.14.5
│     └── ✕ missing peer @babel/plugin-transform-react-jsx@^7.14.9
└─┬ parcel 2.10.0
  └─┬ @parcel/config-default 2.10.0
    └─┬ @parcel/optimizer-htmlnano 2.10.0
      └─┬ htmlnano 2.0.4
        └── ✕ unmet peer svgo@^3.0.2: found 2.8.0 in @parcel/optimizer-htmlnano
Peer dependencies that should be installed:
  @babel/plugin-syntax-flow@^7.14.5
  @babel/plugin-transform-react-jsx@^7.14.9
  @parcel/core@">=2.10.0 <3.0.0-0"

Done in 4m 33.2s
(18:36:45 on main ✖ ✹ ✭)──> pnpm install                      ──(Sun,Oct22)─┘
 WARNMoving @babel/plugin-syntax-flow that was installed by a different package manager to "node_modules/.ignored"WARNMoving @ethereumjs/common that was installed by a different package manager to "node_modules/.ignored"WARNMoving @ethereumjs/tx that was installed by a different package manager to "node_modules/.ignored"WARNMoving @lezer/common that was installed by a different package manager to "node_modules/.ignored"WARNMoving @lezer/lr that was installed by a different package manager to "node_modules/.ignored"WARN19 other warnings
 WARN  deprecated babel@6.23.0: In 6.x, the babel package has been deprecated in favor of babel-cli. Check https://opencollective.com/babel to support the Babel maintainers
 WARN12 deprecated subdependencies found: @babel/plugin-proposal-class-properties@7.18.6, @babel/plugin-proposal-nullish-coalescing-operator@7.18.6, @babel/plugin-proposal-numeric-separator@7.18.6, @babel/plugin-proposal-optional-chaining@7.21.0, @babel/plugin-proposal-private-methods@7.18.6, @babel/plugin-proposal-private-property-in-object@7.21.11, rollup-plugin-terser@7.0.2, sourcemap-codec@1.4.8, stable@0.1.8, svgo@1.3.2, w3c-hr-time@1.0.2, workbox-cacheable-response@6.6.0
Packages: +3 -3
+++---
Progress: resolved 1498, reused 1452, downloaded 0, added 3, done

dependencies:
+ @babel/plugin-syntax-flow 7.22.5
+ @ethereumjs/common 4.0.0
+ @ethereumjs/tx 5.0.0
+ @lezer/common 1.1.0
+ @lezer/lr 1.3.13
+ @nestjs/cli 10.1.18
+ @noble/hashes 1.3.2
+ @noble/secp256k1 2.0.0
+ @openzeppelin/contracts 5.0.0
+ @parcel/transformer-sass 2.10.0
+ @sindresorhus/is 6.0.1
+ aos 2.3.4
+ axios 1.5.1
+ babel 6.23.0 deprecated
+ express 4.18.2
+ next 13.5.6
+ parcel 2.10.0
+ react 18.2.0
+ react-dom 18.2.0
- react-scripts
+ react-scripts 5.0.1
+ solc 0.8.21
+ tachyons 4.12.0
+ typescript 5.2.2
+ web3 4.2.0WARNIssues with peer dependencies found
.
├─┬ @babel/plugin-syntax-flow 7.22.5
│ └── ✕ missing peer @babel/core@^7.0.0-0
├─┬ next 13.5.6
│ └─┬ styled-jsx 5.1.1
│   └── ✕ missing peer @babel/core@"*"
├─┬ @parcel/transformer-sass 2.10.0
│ └─┬ @parcel/plugin 2.10.0
│   └─┬ @parcel/types 2.10.0
│     └─┬ @parcel/cache 2.10.0
│       ├── ✕ missing peer @parcel/core@^2.10.0
│       └─┬ @parcel/fs 2.10.0
│         ├── ✕ missing peer @parcel/core@^2.10.0
│         └─┬ @parcel/types 2.10.0
│           └─┬ @parcel/package-manager 2.10.0
│             ├── ✕ missing peer @parcel/core@^2.10.0
│             └─┬ @parcel/fs 2.10.0
│               ├── ✕ missing peer @parcel/core@^2.10.0
│               └─┬ @parcel/workers 2.10.0
│                 └── ✕ missing peer @parcel/core@^2.10.0
├─┬ react-scripts 5.0.1
│ ├── ✕ unmet peer typescript@"^3.2.1 || ^4": found 5.2.2
│ └─┬ eslint-config-react-app 7.0.1
│   └─┬ eslint-plugin-flowtype 8.0.3
│     └── ✕ missing peer @babel/plugin-transform-react-jsx@^7.14.9
└─┬ parcel 2.10.0
  └─┬ @parcel/config-default 2.10.0
    └─┬ @parcel/optimizer-htmlnano 2.10.0
      └─┬ htmlnano 2.0.4
        └── ✕ unmet peer svgo@^3.0.2: found 2.8.0 in @parcel/optimizer-htmlnano
Peer dependencies that should be installed:
  @babel/core@">=7.0.0 <8.0.0"
  @babel/plugin-transform-react-jsx@^7.14.9
  @parcel/core@">=2.10.0 <3.0.0-0"

Done in 19.7s

追記: @babel/core@">=7.0.0 <8.0.0"
@babel/plugin-transform-react-jsx@^7.14.9

は、install Error

└─(18:37:17 on main ✖ ✹ ✭)──> npm i babel-core                  ──(Sun,Oct22)─┘
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: react-scripts@5.0.1
npm ERR! Found: typescript@5.2.2
npm ERR! node_modules/typescript
npm ERR!   typescript@"5.2.2" from @nestjs/cli@10.1.18
npm ERR!   node_modules/@nestjs/cli
npm ERR!     @nestjs/cli@"^10.1.18" from the root project
npm ERR!   peer typescript@">=4.8.2" from @nestjs/schematics@10.0.2
npm ERR!   node_modules/@nestjs/schematics
npm ERR!     @nestjs/schematics@"^10.0.1" from @nestjs/cli@10.1.18
npm ERR!     node_modules/@nestjs/cli
npm ERR!       @nestjs/cli@"^10.1.18" from the root project
npm ERR!   6 more (abitype, fork-ts-checker-webpack-plugin, cosmiconfig, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional typescript@"^3.2.1 || ^4" from react-scripts@5.0.1
npm ERR! node_modules/react-scripts
npm ERR!   react-scripts@"^5.0.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: typescript@4.9.5
npm ERR! node_modules/typescript
npm ERR!   peerOptional typescript@"^3.2.1 || ^4" from react-scripts@5.0.1
npm ERR!   node_modules/react-scripts
npm ERR!     react-scripts@"^5.0.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /Users/$HOME/.npm/_logs/2023-10-22T14_39_24_381Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /Users/$HOME/.npm/_logs/2023-10-22T14_39_24_381Z-debug-0.log

react-scriptsが悪さをしていたのでremove

その後@babel/plugin-syntax-flowもuninstall

└─(18:51:31 on main ✖ ✹ ✭)──> npm uninstall react-scripts   1──(Sun,Oct22)─┘
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: react-scripts@5.0.1
npm WARN Found: typescript@5.2.2
npm WARN node_modules/typescript
npm WARN   typescript@"5.2.2" from @nestjs/cli@10.1.18
npm WARN   node_modules/@nestjs/cli
npm WARN     @nestjs/cli@"^10.1.18" from the root project
npm WARN   7 more (@nestjs/schematics, abitype, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peerOptional typescript@"^3.2.1 || ^4" from react-scripts@5.0.1
npm WARN node_modules/react-scripts
npm WARN 
npm WARN Conflicting peer dependency: typescript@4.9.5
npm WARN node_modules/typescript
npm WARN   peerOptional typescript@"^3.2.1 || ^4" from react-scripts@5.0.1
npm WARN   node_modules/react-scripts
npm WARN deprecated babel@6.23.0: In 6.x, the babel package has been deprecated in favor of babel-cli. Check https://opencollective.com/babel to support the Babel maintainers

added 60 packages, removed 1068 packages, changed 15 packages, and audited 623 packages in 30s

152 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
└─(19:05:31 on main ✖ ✹ ✭)──> pnpm install                      ──(Sun,Oct22)─┘
 WARNMoving @ethereumjs/common that was installed by a different package manager to "node_modules/.ignored"WARNMoving @lezer/common that was installed by a different package manager to "node_modules/.ignored"WARNMoving @lezer/lr that was installed by a different package manager to "node_modules/.ignored"WARNMoving @ethereumjs/tx that was installed by a different package manager to "node_modules/.ignored"WARNMoving @nestjs/cli that was installed by a different package manager to "node_modules/.ignored"WARN15 other warnings
 WARN1 deprecated subdependencies found: stable@0.1.8
Packages: -1
-
Progress: resolved 569, reused 523, downloaded 0, added 0, done

dependencies:
+ @ethereumjs/common 4.0.0
+ @ethereumjs/tx 5.0.0
+ @lezer/common 1.1.0
+ @lezer/lr 1.3.13
+ @nestjs/cli 10.1.18
+ @noble/hashes 1.3.2
+ @noble/secp256k1 2.0.0
+ @openzeppelin/contracts 5.0.0
+ @sindresorhus/is 6.0.1
+ aos 2.3.4
+ axios 1.5.1
- babel
+ express 4.18.2
+ next 13.5.6
+ parcel 2.10.0
+ react 18.2.0
+ react-dom 18.2.0
+ solc 0.8.21
+ tachyons 4.12.0
+ typescript 5.2.2
+ web3 4.2.0WARNIssues with peer dependencies found
.
└─┬ parcel 2.10.0
  └─┬ @parcel/config-default 2.10.0
    └─┬ @parcel/optimizer-htmlnano 2.10.0
      └─┬ htmlnano 2.0.4
        └── ✕ unmet peer svgo@^3.0.2: found 2.8.0 in @parcel/optimizer-htmlnano

Done in 12.6s

Discussion