0
トリュフルのinitに付属しているスタンダードコントラクトを移行することはできません。私は何をすべきかHere's:トリュフルマイグレーションエラー
truffle init
truffle compile
truffle migrate
とこれは私がinitをした場合に発生するものです:
しかし、私は移行する場合、エラーの次のリストが現れます:
Error: Invalid JSON RPC response: ""
at Object.InvalidResponse (/usr/local/lib/node_modules/truffle/node_modules/web3/lib/web3/errors.js:35:16)
at XMLHttpRequest.request.onreadystatechange (/usr/local/lib/node_modules/truffle/node_modules/web3/lib/web3/httpprovider.js:115:32)
at XMLHttpRequestEventTarget.dispatchEvent (/usr/local/lib/node_modules/truffle/node_modules/xhr2/lib/xhr2.js:64:18)
at XMLHttpRequest._setReadyState (/usr/local/lib/node_modules/truffle/node_modules/xhr2/lib/xhr2.js:354:12)
at XMLHttpRequest._onHttpRequestError (/usr/local/lib/node_modules/truffle/node_modules/xhr2/lib/xhr2.js:544:12)
at ClientRequest.<anonymous> (/usr/local/lib/node_modules/truffle/node_modules/xhr2/lib/xhr2.js:414:24)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at Socket.socketErrorListener (_http_client.js:309:9)
at emitOne (events.js:96:13)
あなたtestrpcのサーバが動作していることを確認し、あなたのtruffle.jsの設定をチェックし右のポートを持っているがIPアドレス。 – webjunkie
ありがとう、ポートとアドレスは正しい私はすべての前にtestrpcを忘れていた – killezio