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

Unable to install alongside recent versions of bitcore-lib #37

Open
ghost opened this issue Oct 16, 2017 · 4 comments
Open

Unable to install alongside recent versions of bitcore-lib #37

ghost opened this issue Oct 16, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Oct 16, 2017

It appears that bitcore-explorers is using an older version of bitcore-lib and isn't able to function nicely in projects using the most recent version of bitcore-lib. If your project uses the latest version bitcore-lib and bitcore-explorers as a dependency you will get the 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.

It appears that npm is installing an older version of bitcore-lib under ./node_modules/bitcore-explorers/node_modules based on the dependencies for bitcore-explorers. A temporary solution is to just delete that folder but if you do anything using npm it will reinstall it.

@Bensigo
Copy link

Bensigo commented Mar 5, 2018

getting this same problem

@levymoreira
Copy link

levymoreira commented May 15, 2018

One of these integration problems was solved in this PR (just need merge it now ...)
I was getting error because the bitcore lib is using a new version of lodash while bitcore-explorers was using a functions that doesn't exist anymore.

#41

@saritvakrat
Copy link

I solved it by uninstalling bitcore-lib since bitcore-explorers already have them as a sub module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@levymoreira @Bensigo @saritvakrat and others