Marc Vanderstigel
Aug 26, 2017 · 1 min read

Hey, thanks for the work, it is amazing !
I’m encountering an issue after launching the node command. I type “node”, then:

> Web3 = require('web3')> web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));> web3.eth.accounts

but I get this error message :

Error: Invalid JSON RPC response: undefined

at Object.InvalidResponse (/Users/Marc/votingapp/node_modules/web3/lib/web3/errors.js:38:16)

at HttpProvider.send (/Users/Marc/votingapp/node_modules/web3/lib/web3/httpprovider.js:95:18)

at RequestManager.send (/Users/Marc/votingapp/node_modules/web3/lib/web3/requestmanager.js:58:32)

at Eth.get [as accounts] (/Users/Marc/votingapp/node_modules/web3/lib/web3/property.js:107:62)

at repl:1:9

at sigintHandlersWrap (vm.js:22:35)

at sigintHandlersWrap (vm.js:73:12)

at ContextifyScript.Script.runInThisContext (vm.js:21:12)

at REPLServer.defaultEval (repl.js:340:29)

at bound (domain.js:280:14)

Do you have any clue where it comes from ?

Thanks mate !

)

    Marc Vanderstigel

    Written by

    Co-Founder & CEO @ Traveler

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade