truffle unbox react, unhandled rejection
问题 I keep getting this error "Unhandled Rejection (Error): This contract object doesn't have address set yet, please set an address first. " when launching truffle unbox react, and also I don't have truffle.js, only have truffle-config.js 回答1: Late but hopefully this will answer the question as I have ran into the same issue. Assuming your metamask extension is enabled, make sure to switch your network to the localhost that is running either ganache-cli or truffle. 来源: https://stackoverflow.com