When I run the following command I receive no output whatsoever:
truffle migrate --network ropsten
This is just after creating a new project using truffle init
and creating a single contract.
When I run truffle develop
and run the migrate command from the console, everything works fine.
This is the contents of my truffle.js file:
var HDWalletProvider = require("truffle-hdwallet-provider");
var mnemonic = "my twelve word mnemonic......";
module.exports = {
networks: {
ropsten: {
provider: function() {
return new HDWalletProvider(mnemonic, "https://ropsten.infura.io/xxxxxxxxxxxxx")
},
network_id: 3
},
development: {
host: "localhost",
port: 8545,
network_id: "*" // Match any network id
}
}
};
I'm on Ubuntu 16.04 and the latest version of truffle 4.1.8.
(and yes, I have funded my account on Ropsten with Ether from the faucet)
--verbose-rpc
to get some debug traces. Otherwise, if you want to reset the build from scratch, try--reset --compile-all
--reset --compile-all
?truffle compile --reset --compile-all
?truffle migrate --network ropsten --reset --compile-all --verbose-rpc