Truffle v5.0.3 config:
truffle-config.js
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
networks: {
development: {
host: "127.0.0.1", //also tried 'localhost', just in case
port: 7545,
network_id: "5777"
}
}
};
on executing truffle migrate --reset
or truffle compile
or truffle migrate --network development --reset --compile-all --verbose-rpc
happens nothing: no output, no builds. I suppose the same code worked before (with output and builds), however, on the different OS (using Linux Debian at the moment).
What is wrong with the configuration?
Edit: Ganache logs show there is no connection from truffle during my attempts to compile contracts.
[9:09:57 PM] Starting server (version 1.3.0) with initial configuration: {"hostname":"127.0.0.1","port":7545,"network_id":5777,"default_balance_ether":100,"total_accounts":10,"unlocked_accounts":[],"locked":false,"vmErrorsOnRPCResponse":true,"verbose":false,"gasLimit":6721975,"gasPrice":20000000000,"hardfork":"constantinople"}
[9:09:57 PM] Ganache started successfully!
[9:09:57 PM] Waiting for requests...
build/
directory in your project. Another thing to check is truffle is correctly installed. – Ismael Feb 8 at 0:59./contracts
. – Rob Hitchens B9lab Feb 8 at 22:42/build
dir yet. Truffle seems to be installed correctly globally, it outputs its version and help. – Polyakoff Feb 10 at 18:52Could not find suitable configuration file.
error message. – Polyakoff Feb 10 at 18:53truffle compile --all
returns? Without more info it can be an issue with truffle installation (try uninstalling a reinstalling), migrations scripts in your project, another problem with your setup. – Ismael Feb 10 at 20:16