Conflicting @polkadot/* dependency versions
When running @acurast/cli, the following warnings are thrown due to multiple versions of @polkadot/util, @polkadot/keyring, and @polkadot/util-crypto being installed:
@polkadot/util has multiple versions, ensure that there is only one installed.
The following conflicting packages were found:
esm 13.5.9 node_modules/@acurast/cli/node_modules/@polkadot/keyring/node_modules/@polkadot/util/
esm 14.0.1 node_modules/@acurast/cli/node_modules/@polkadot/util/
@polkadot/keyring has multiple versions, ensure that there is only one installed.
The following conflicting packages were found:
esm 13.5.9 node_modules/@acurast/cli/node_modules/@polkadot/keyring/
esm 14.0.1 node_modules/@acurast/cli/node_modules/@polkadot/api/node_modules/@polkadot/keyring/
@polkadot/util-crypto has multiple versions, ensure that there is only one installed.
The following conflicting packages were found:
esm 13.5.9 node_modules/@acurast/cli/node_modules/@polkadot/keyring/node_modules/@polkadot/util-crypto/
esm 14.0.1 node_modules/@acurast/cli/node_modules/@polkadot/util-crypto/
Cause
It looks like @polkadot/keyring is pinned to a v13.x release that pulls in @polkadot/util@13.5.9 and @polkadot/util-crypto@13.5.9, while other dependencies (like @polkadot/api) have moved to v14.x. The Polkadot.js packages enforce a single-version requirement at runtime, so this conflict results in warnings (and potentially errors).
Expected behavior
All @polkadot/* dependencies within @acurast/cli should resolve to the same major version to avoid these runtime conflicts.
Environment
- OS: macOS
- Package manager: npm
Thanks for the great tool — happy to help test if you push a fix!
Conflicting @polkadot/* dependency versions
When running
@acurast/cli, the following warnings are thrown due to multiple versions of@polkadot/util,@polkadot/keyring, and@polkadot/util-cryptobeing installed:Cause
It looks like
@polkadot/keyringis pinned to a v13.x release that pulls in@polkadot/util@13.5.9and@polkadot/util-crypto@13.5.9, while other dependencies (like@polkadot/api) have moved to v14.x. The Polkadot.js packages enforce a single-version requirement at runtime, so this conflict results in warnings (and potentially errors).Expected behavior
All
@polkadot/*dependencies within@acurast/clishould resolve to the same major version to avoid these runtime conflicts.Environment
Thanks for the great tool — happy to help test if you push a fix!