You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though this question dates back to August 2019 perhaps my response is helpful to someone.
For me this was usually related to having a wrong port configured in my truffle.js / truffle-config.js file. The default might be port 8545 (which is the default for the ganache-cli) but if you are using the ganache-gui, you need to change it to e.g. 7545 (which is the default for the ganache-gui).
An example is illustrated in the truffle documentation, where you can also find further information on the config file.
module.exports = {
networks: {
development: {
host: "127.0.0.1",
port: 8545,
network_id: "*" // Match any network id
}
}
};
Inspired from teaching this project and the questions I got, I started a company to make it easy for developers to get started. Check out DappStarter which incorporates much of what went into building the FlightSurety project.
So
npm install
andtruffle compile
are fine, but withtruffle test
, the command line just gives me nothing:The text was updated successfully, but these errors were encountered: