bitcore-lib icon indicating copy to clipboard operation
bitcore-lib copied to clipboard

Error: More than one instance of bitcore-lib found

Open Leon-Zhang opened this issue 6 years ago • 2 comments

If I import bitcore-lib or bitcore-explorers or bitcore-mnemonic at same time, it will have following error,

Error: More than one instance of bitcore-lib found. Please make sure to require bitcore-lib and check that submodules do not also include their own bitcore-lib dependency.

I found it is because they are referring to different version of bitcore-lib, like +-- [email protected] | +-- [email protected] +-- [email protected]

any simple way to fix this?

Leon-Zhang avatar Dec 23 '18 14:12 Leon-Zhang

Bitcore-explorers is not longer been maintained. It will be removed soon. Please do not use it. Sorry, we need to update docs.

On Sun, Dec 23, 2018, 11:01 AM Leon-Zhang <[email protected] wrote:

If I import bitcore-lib or bitcore-explorers or bitcore-mnemonic at same time, it will have following error,

Error: More than one instance of bitcore-lib found. Please make sure to require bitcore-lib and check that submodules do not also include their own bitcore-lib dependency.

I found it is because they are referring to different version of bitcore-lib, like +-- [email protected] | +-- [email protected] +-- [email protected]

any simple way to fix this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bitpay/bitcore-lib/issues/278, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGCHD0aqi4OUAqD3FAsAmi__YbpiJjTks5u74yzgaJpZM4Zf2c6 .

matiu avatar Dec 23 '18 15:12 matiu

Bitcore-explorers is not longer been maintained. It will be removed soon. Please do not use it. Sorry, we need to update docs. On Sun, Dec 23, 2018, 11:01 AM Leon-Zhang @.*** wrote: If I import bitcore-lib or bitcore-explorers or bitcore-mnemonic at same time, it will have following error, Error: More than one instance of bitcore-lib found. Please make sure to require bitcore-lib and check that submodules do not also include their own bitcore-lib dependency. I found it is because they are referring to different version of bitcore-lib, like +-- @.*** | +-- @.*** +-- @.*** any simple way to fix this? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#278>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGCHD0aqi4OUAqD3FAsAmi__YbpiJjTks5u74yzgaJpZM4Zf2c6 .

Thanks for answer. So beside bitcore-explorers, how I can get address balance?

Leon-Zhang avatar Dec 24 '18 03:12 Leon-Zhang