I'm new to truffle and I have been following this tutorial below to set up the sample pet shop project:
http://truffleframework.com/tutorials/pet-shop
I have all the stuff that is required to set this example on my Mac. But when I give the truffle develop command, I get the following error:
Joe-MacBook-Pro:pet-shop-tutorial joe$ truffle develop
Could not connect to your Ethereum client. Please check that your Ethereum client:
- is running
- is accepting RPC connections (i.e., "--rpc" option is used in geth)
- is accessible over the network
- is properly configured in your Truffle configuration file (truffle.js)
Here is my truffle.js:
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*" // Match any network id
}
}
};
What is the problem now with what I'm doing?
I'm using truffle version:
Joes-MacBook-Pro:pet-shop-tutorial joe$ truffle version
Truffle v3.4.11 (core: 3.4.11)
Solidity v0.4.15 (solc-js)