Error: Cannot find module 'eth-block-tracker'
See original GitHub issuehello : ) I have some integration tests which just started failing.
Error: Cannot find module 'eth-block-tracker'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/orie/TransmuteIndustries/transmute-framework/node_modules/web3-provider-engine/index.js:4:25)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
https://travis-ci.org/transmute-industries/transmute-framework/builds/242685558
I can see previous builds that succeeded had:
βββ¬ @digix/truffle-lightwallet-provider@0.0.12
β βββ¬ eth-lightwallet@2.5.4
β β βββ bignumber.js@2.0.7
β β βββ¬ bitcore-lib@0.14.0
β β β βββ bn.js@2.0.4
β β β βββ bs58@2.0.0
β β β βββ buffer-compare@1.0.0
β β β βββ¬ elliptic@3.0.3
β β β β βββ brorand@1.0.5
β β β β βββ hash.js@1.0.3
β β β βββ inherits@2.0.1
β β β βββ lodash@3.10.1
β β βββ bitcore-mnemonic@1.2.5
β β βββ¬ buffer@4.9.1
β β β βββ base64-js@1.2.0
β β β βββ ieee754@1.1.8
β β β βββ isarray@1.0.0
β β βββ¬ elliptic@3.1.0
β β β βββ bn.js@2.2.0
β β β βββ brorand@1.1.0
β β β βββ hash.js@1.0.3
β β βββ scrypt-async@1.3.1
β β βββ tweetnacl@0.13.2
β β βββ¬ web3@0.15.3
β β βββ bignumber.js@2.0.7
β βββ¬ ethereumjs-tx@1.3.1
β β βββ ethereum-common@0.0.18
β βββ¬ web3-provider-engine@12.2.2
And the current one that is failing is:
βββ¬ @digix/truffle-lightwallet-provider@0.0.12
β βββ¬ eth-lightwallet@2.5.4
β β βββ bignumber.js@2.0.7
β β βββ¬ bitcore-lib@0.14.0
β β β βββ bn.js@2.0.4
β β β βββ bs58@2.0.0
β β β βββ buffer-compare@1.0.0
β β β βββ¬ elliptic@3.0.3
β β β β βββ brorand@1.0.5
β β β β βββ hash.js@1.0.3
β β β βββ inherits@2.0.1
β β β βββ lodash@3.10.1
β β βββ bitcore-mnemonic@1.2.5
β β βββ¬ buffer@4.9.1
β β β βββ base64-js@1.2.0
β β β βββ ieee754@1.1.8
β β βββ¬ elliptic@3.1.0
β β β βββ bn.js@2.2.0
β β β βββ brorand@1.1.0
β β β βββ hash.js@1.0.3
β β βββ scrypt-async@1.3.1
β β βββ tweetnacl@0.13.2
β β βββ¬ web3@0.15.3
β β βββ bignumber.js@2.0.7
β βββ¬ ethereumjs-tx@1.3.1
β β βββ ethereum-common@0.0.18
β βββ¬ web3-provider-engine@12.2.4
It looks to me like web3-provider-engine@12.2.4 is the culprit.
It should be reproducible by installing βdigix/truffle-lightwallet-providerβ: β0.0.12β
and running truffle migrate with truffle.js looking something like this:
const LightWalletProvider = require('@digix/truffle-lightwallet-provider')
module.exports = {
networks: {
"development": {
host: "localhost",
port: 8545,
network_id: "*",
},
"ropsten": {
provider: new LightWalletProvider({
keystore: './sigmate-v3-ti.json',
password: global.lightWalletPassword,
rpcUrl: 'https://ropsten.infura.io',
debug: true,
pollingInterval: 2000
}),
network_id: '*',
},
}
};
I believe digix/truffle-lightwallet-provider is loading web3-provider-engine@12.2.4 and causing my build to fail π
Is there anything I can do to resolve this?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
eth-block-tracker - npm
This module walks the Ethereum blockchain, keeping track of the latest block. It uses a web3 provider as a data source and will...
Read more >How do I resolve "Cannot find module" error using Node.js?
Using npm install installs the module into the current directory only (in a subdirectory called node_modules ). Is app.js located underΒ ...
Read more >Error: Cannot find module 'create-hash' - OpenZeppelin Forum
I got rid of the problem by deleting my node_modules folder and npm reinstalling them. The oz commands then worked as they should...
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
In my case, I got it like this "Module not found: Error: Can't resolve 'react-icons/fa' in 'C:\Users\user\Desktop\Projects\Address Locator\Β ...
Read more >[Solution] Error: Cannot Find Module "nodemailer" - Courier
This is a common Nodemailer error -- get the solution for Error: Cannot Find Module "nodemailer".
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Was fixed on
eth-block-trackerthis morning: https://github.com/MetaMask/eth-block-tracker/issues/22Thanks @hitchcott @flyswatter!