truffle-box / react-box

Truffle, Webpack and React boilerplate.
https://truffle-box.github.io/
MIT License
736 stars 251 forks source link

Unhandled Rejection (Error): This contract object doesn't have address set yet, please set an address first. #146

Closed JimLynchCodes closed 3 years ago

JimLynchCodes commented 3 years ago

While following the commands in the README I run the "npm start" in the react project.

It flashes the "Good to go" page for a second and then goes to this error page...

Screen Shot 2021-07-19 at 9 35 19 PM

Is anyone else seeing this?

my versions:

Truffle v5.3.6 (core: 5.3.6)
Solidity v0.5.16 (solc-js)
Node v14.17.0
Web3.js v1.3.5
JimLynchCodes commented 3 years ago

Ah, I see- you have to have "localhost" selected in metamask with the port it's running on for it to work!