Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

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. #58

Open
gkucmierz opened this issue Aug 20, 2017 · 0 comments

Comments

@gkucmierz
Copy link

When I am trying to use this lib in my nodejs script.
const Mnemonic = require('bitcore-mnemonic');

It says:

/Users/gkucmierz/learn/my-app/node_modules/bitcore-lib/index.js:12
    throw new Error(message);
    ^

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.
    at Object.bitcore.versionGuard (/Users/gkucmierz/learn/my-app/node_modules/bitcore-lib/index.js:12:11)
    at Object.<anonymous> (/Users/gkucmierz/learn/my-app/node_modules/bitcore-lib/index.js:15:9)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/gkucmierz/learn/my-app/src/public/mix-coins.js:2:17)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Module.require (module.js:517:17)

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

No branches or pull requests

1 participant