Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version conflic printout when running any command #1040

Closed
skunert opened this issue May 11, 2023 · 1 comment · Fixed by #1047
Closed

Version conflic printout when running any command #1040

skunert opened this issue May 11, 2023 · 1 comment · Fixed by #1047
Assignees
Labels
dependencies Pull requests that update a dependency file

Comments

@skunert
Copy link
Contributor

skunert commented May 11, 2023

Issue Description

When running zombienet locally it complains about version conflicts of packages. Does not seem to impact functionality but might be worth fixing.

Steps to reproduce the issue

Steps to reproduce the issue

  1. Download latest version from github (I use linux-x64)
  2. Run zombienet version (or any other command)
  3. See conflict messages printed.

Describe the results you received

@polkadot/util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
        cjs 12.1.2      node_modules/@polkadot/api/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-augment/node_modules/@polkadot/util/cjs
@polkadot/util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
        cjs 12.1.2      node_modules/@polkadot/api/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-augment/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/keyring/node_modules/@polkadot/util/cjs
@polkadot/util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
        cjs 12.1.2      node_modules/@polkadot/api/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-augment/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/keyring/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/util-crypto/node_modules/@polkadot/util/cjs
@polkadot/util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
        cjs 12.1.2      node_modules/@polkadot/api/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-augment/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/keyring/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/util-crypto/node_modules/@polkadot/util/cjs
        cjs 12.0.1      node_modules/@polkadot/util/cjs
@polkadot/util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
        cjs 12.1.2      node_modules/@polkadot/api/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-augment/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/keyring/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/util-crypto/node_modules/@polkadot/util/cjs
        cjs 12.0.1      node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-provider/node_modules/@polkadot/util/cjs
@polkadot/util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
        cjs 12.1.2      node_modules/@polkadot/api/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-augment/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/keyring/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/util-crypto/node_modules/@polkadot/util/cjs
        cjs 12.0.1      node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-provider/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/api-derive/node_modules/@polkadot/util/cjs
@polkadot/util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
        cjs 12.1.2      node_modules/@polkadot/api/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-augment/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/keyring/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/util-crypto/node_modules/@polkadot/util/cjs
        cjs 12.0.1      node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-provider/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/api-derive/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-core/node_modules/@polkadot/util/cjs
@polkadot/util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
        cjs 12.1.2      node_modules/@polkadot/api/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-augment/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/keyring/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/util-crypto/node_modules/@polkadot/util/cjs
        cjs 12.0.1      node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-provider/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/api-derive/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-core/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/types/node_modules/@polkadot/util/cjs
@polkadot/util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
        cjs 12.1.2      node_modules/@polkadot/api/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-augment/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/keyring/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/util-crypto/node_modules/@polkadot/util/cjs
        cjs 12.0.1      node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-provider/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/api-derive/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-core/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/types/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/types-create/node_modules/@polkadot/util/cjs
@polkadot/util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
        cjs 12.1.2      node_modules/@polkadot/api/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-augment/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/keyring/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/util-crypto/node_modules/@polkadot/util/cjs
        cjs 12.0.1      node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-provider/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/api-derive/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-core/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/types/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/types-create/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/types-codec/node_modules/@polkadot/util/cjs
@polkadot/util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
        cjs 12.1.2      node_modules/@polkadot/api/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-augment/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/keyring/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/util-crypto/node_modules/@polkadot/util/cjs
        cjs 12.0.1      node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-provider/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/api-derive/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/rpc-core/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/types/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/types-create/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/types-codec/node_modules/@polkadot/util/cjs
        cjs 12.1.2      node_modules/@polkadot/types-known/node_modules/@polkadot/util/cjs

Describe the results you expected

Zombienet version

1.3.51

Provider

Native

Provider version

-

Upstream Latest Release

No

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

Screenshots

No response

@wirednkod
Copy link
Contributor

Thank you @skunert - I am looking into it - it seems like a version conflict of polkadotjs.

@wirednkod wirednkod self-assigned this May 11, 2023
@wirednkod wirednkod added the dependencies Pull requests that update a dependency file label May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants