-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldn't read Truffle config file when running tenderly proxy #10
Comments
Hey, can you re-run the proxy command with the Also, we are slowly deprecating the
|
buidler was my next go to option in if this fails i guess that's what i'll try either way the output of the tenderly proxy --debug command is this: You are running version v0.5.8 of the Tenderly CLI. To update to the newest version (v0.5.9) please follow the instructions below: curl https://raw.githubusercontent.com/Tenderly/tenderly-cli/master/scripts/install-linux.sh | sh {"file":"/go/src/github.com/tenderly/tenderly-cli/truffle/config.go:66","func":"github.com/tenderly/tenderly-cli/truffle.GetTruffleConfig","level":"debug","msg":"Trying truffle config path: /home/omerz/dev/contracts/solidity/truffle-config.js","time":"2020-03-18T14:56:17+02:00"} |
This seems like a permission issue because if I'm not mistaken, your config file is correct. |
I am trying to run tenderly proxy on my project and whenever I run the command tenderly proxy in my root directory where my truffle config is i get the error Couldn't read Truffle config file
the truffle-config.js is there and looks like this:
// See http://truffleframework.com/docs/advanced/configuration
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "", // Match any network id
gasPrice: 20000000000, // Gas price used for deploys
gas: 6721975 // Gas limit used for deploys
},
production: {
host: "localhost",
port: 7545,
network_id: "", // Match any network id
gasPrice: 20000000000, // Gas price used for deploys
gas: 6721975 // Gas limit used for deploys
},
coverage: { // See https://www.npmjs.com/package/solidity-coverage#network-configuration
host: "localhost",
port: 7555, // Also in .solcover.js
network_id: "*", // Match any network id
gasPrice: 0x1, // Gas price used for deploys
gas: 0x1fffffffffffff // Gas limit used for deploys
}
},
compilers: {
solc: {
version: "0.4.26" // ex: "0.4.20". (Default: Truffle's installed solc)
}
},
mocha: {
enableTimeouts: false,
useColors: true,
bail: true,
reporter: "list" // See https://mochajs.org/#reporters
},
solc: {
version: "0.4.26",
optimizer: {
enabled: true,
runs: 200
}
}
};
The text was updated successfully, but these errors were encountered: