question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Detects if multiple version of @polkadot/types are installed and print warning

See original GitHub issue

Currently the type registry is a shared global variable. polkadot.js will fail with unclear error message when multiple versions @polkadot/types are installed because each version of the lib have its own type registry.

Until the type registry is been refactored to not using shared global variable, it should detects if multiple versions are installed and print a big warning message.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
amaurymcommented, Mar 25, 2019

… Not quite sure as to “how” 😃

Me neither… but I’ve seen console.logs from mobx and styled-components saying “it seems there are multiple versions of mobx/styled-components running, please make sure there’s only one”. We could have a peek there.

0reactions
polkadot-js-botcommented, Jun 5, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to prevent / remove duplicate modules and mismatched ...
Any and all suggestions are appreciated. @polkadot/util has multiple versions, ensure that there is only one installed. Either remove and ...
Read more >
Resolving new pip backtracking runtime issue - Stack Overflow
When I ask to install package A, without specifying a version, and that package is not already installed, I expect pip to install...
Read more >
How to detect installed Edge version, to automate download of ...
To determine the version of Edge just look at the major version of the binary that is installed, note that a user may...
Read more >
SOLIDWORKS Multiple Versions Detected when opening a file
Starting with SOLIDWORKS 2013, when you double click on a SOLIDWORKS file from Windows Explorer, the program will detect which releases of the ......
Read more >
Can anyone provide version 4.20.1 of CubeMX - ST Community
Do you know if it is possible to install two different versions of ... On project load, STM32CubeMX detects if the project was...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found