Web3 moves fast, and this means that version management when it comes to packages is difficult. Often one library might require a specific version of Viem while another requires a different version. This is where Dynamic Doctor can help.

Use it if you’ve installed and initialized Dynamic but you’re getting some errors. Often these can be related to the versions currently installed even though the errors themselves might not indicate it.

Usage

In the root of your project, run the following command:

npx dynamic-doctor@latest run

Output

You will see a list of issues found and a file dynamic-doctor-report-<timestamp>.html will be generated in your root directory.

Make sure that all of the dynamic packages have the same version, and if that doesn’t fix things, you can review the generated file and as long as it doesn’t contain any sensitive data, share this file with the Dynamic team to help diagnose the issue.