chuckbergeron / etherplate

🔗 Use this to make your next Ethereum DApp w/ React (& Router), Redux, Bulma & OpenZeppelin ERC721
https://chuckbergeron.io
Other
78 stars 34 forks source link

running truffle compile throws error #3

Closed brianyang closed 6 years ago

brianyang commented 6 years ago

when running truffle compile i get an error:

~/P/b/e/etherplate ❯❯❯ truffle compile                                                                                                                                                               master

/Users/brian/Public/blockchain/explorer/etherplate/node_modules/truffle-hdwallet-provider/node_modules/web3/lib/web3/errors.js:35
        return new Error(message);
               ^
Error: Invalid JSON RPC response: ""
    at Object.InvalidResponse (/Users/brian/Public/blockchain/explorer/etherplate/node_modules/truffle-hdwallet-provider/node_modules/web3/lib/web3/errors.js:35:16)
    at XMLHttpRequest.request.onreadystatechange (/Users/brian/Public/blockchain/explorer/etherplate/node_modules/truffle-hdwallet-provider/node_modules/web3/lib/web3/httpprovider.js:115:32)
    at XMLHttpRequestEventTarget.dispatchEvent (/Users/brian/Public/blockchain/explorer/etherplate/node_modules/xhr2/lib/xhr2.js:64:18)
    at XMLHttpRequest._setReadyState (/Users/brian/Public/blockchain/explorer/etherplate/node_modules/xhr2/lib/xhr2.js:354:12)
    at XMLHttpRequest._onHttpRequestError (/Users/brian/Public/blockchain/explorer/etherplate/node_modules/xhr2/lib/xhr2.js:544:12)
    at ClientRequest.<anonymous> (/Users/brian/Public/blockchain/explorer/etherplate/node_modules/xhr2/lib/xhr2.js:414:24)
    at emitOne (events.js:115:13)
    at ClientRequest.emit (events.js:210:7)
    at Socket.socketErrorListener (_http_client.js:401:9)
    at emitOne (events.js:115:13)

do you know what's going wrong? thanks in advance for your help!

brianyang commented 6 years ago

the error may have had something to do with truffle.js and hd wallet. removing that code solved the problem