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

Cannot find module 'web3-requestManager' #1

Open
ilhanu opened this issue Mar 16, 2018 · 1 comment
Open

Cannot find module 'web3-requestManager' #1

ilhanu opened this issue Mar 16, 2018 · 1 comment

Comments

@ilhanu
Copy link

ilhanu commented Mar 16, 2018

Was trying to experiment with oracles and when I run the oracle.js file it gives me the following error:

PS C:\dev\oracleCMC\ethoracle-barebones> node .\oracle.js
module.js:544
    throw err;
    ^

Error: Cannot find module 'web3-requestManager'
    at Function.Module._resolveFilename (module.js:542:15)
    at Function.Module._load (module.js:472:25)
    at Module.require (module.js:585:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (C:\dev\oracleCMC\ethoracle-barebones\node_modules\web3\packages\web3-core\src\index.js:26:22)
    at Module._compile (module.js:641:30)
    at Object.Module._extensions..js (module.js:652:10)
    at Module.load (module.js:560:32)
    at tryModuleLoad (module.js:503:12)
    at Function.Module._load (module.js:495:3)

Updating the components to the lastest versions doesn't solve it, what do you recommend ?

@kendricktan
Copy link
Owner

Seems like a web3.js issue. You might need to pin your dependencies.

Source: web3/web3.js#966

  "dependencies": {
    "web3": "1.0.0-beta.31"
  }

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

2 participants