不能部署migrate通过Tunffle编译的以太坊智能合约。我是这么做的:
truffle init
truffle compile
open other terminal and run testrpc
truffle migrate
前三步都正常过了,当我运行truffle migrate
时,出现了这个问题:
Error: No network specified. Cannot determine current network.
at Object.detect (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:43157:23)
at /usr/local/lib/node_modules/truffle/build/cli.bundled.js: