I am trying to deploy a work in progress dapp to the ropsten network using:
truffle migrate --network ropsten
I have a geth instance running in terminal and I receive the following error:
Unknown network "true". See your Truffle configuration file for available networks.
This is my truffle.js file:
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*" // Match any network id
},
ropsten: {
network_id: 3,
host: "localhost",
from: "<<Address is usually here>>",
port: 8545,
gas: 2900000
}
}
};
EDIT: I am using ubuntu for development