For the complete documentation index, see llms.txt. This page is also available as Markdown.

Peer Dependencies

Ensure that your project's peer dependencies align with VeChain Kit's specifications. Mismatched versions can cause installation failures, runtime errors, or unexpected behaviour.

Common Issues

  • Package installation fails with peer dependency warnings

  • Runtime errors about missing dependencies

  • Version conflicts between VeChain Kit and your existing packages

Solution

  1. Clean Installation

Often resolves dependency caching issues:

# Remove existing installations
rm -rf node_modules
rm package-lock.json # or yarn.lock

# Reinstall packages
npm install # or yarn install

  1. Check Required Peer Dependencies

VeChain Kit requires specific versions of:

  • Chakra UI React: ^2.8.2

  • TanStack React Query: ^5.64.2

  • VeChain DApp Kit React: 2.0.1

  1. Update or Downgrade Packages

You may need to adjust package versions to maintain compatibility:

Was this helpful?