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

fix(api): @polkadot/util-crypto is not listed as a dependency #1628

Open
nikitayutanov opened this issue Aug 22, 2024 · 0 comments
Open

fix(api): @polkadot/util-crypto is not listed as a dependency #1628

nikitayutanov opened this issue Aug 22, 2024 · 0 comments
Assignees
Labels
D0-api @gear-js/api D4-dependencies Package dependencies

Comments

@nikitayutanov
Copy link
Member

nikitayutanov commented Aug 22, 2024

Problem

@polkadot/util-crypto library is actively used across @gear-js/api, however is not specified in the package.json as a dependency.

Steps

Encountered this issue during recent dApps update.

  1. If @polkadot/util-crypto is not used in a React application, remove it from project's dependencies.
  2. Try to build application's Docker image.

image

Possible Solution

Specify @polkadot/util-crypto in the @gear-js/api package.json.

@nikitayutanov nikitayutanov added the C0-bug Something isn't working label Aug 22, 2024
@nikitayutanov nikitayutanov changed the title fix(api): @polkadot/util-crypto is not explicitly listed as a dependency fix(api): @polkadot/util-crypto is not listed as a dependency Aug 22, 2024
@nikitayutanov nikitayutanov added D0-api @gear-js/api D4-dependencies Package dependencies and removed C0-bug Something isn't working labels Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D0-api @gear-js/api D4-dependencies Package dependencies
Projects
None yet
Development

No branches or pull requests

2 participants