I have a 2 node Ethereum system already setup. I am trying to have a web3 client talking to it. I installed web3 on a client machine and it gave no errors.
However, I try to setup index.js and do node web3. It gives me an error.
This is the error I see: Web3.providers.HttpProvider("http://172.17.0.5:8545") = web3; ^
TypeError: Cannot read property 'HttpProvider' of undefined
Basically, this means it is unable to pick up any of the web3 providers. I tried with WebSocketProvider and IPCProvider, but still see this issue.
any inputs on what the issue could be.
thx - Anand