dappuniversity/eth-todo-list

Contract not deployed to network

Opened this issue · 3 comments

I've forked the project and tried deploying a contract via truffle. I follow the tutorial but I am getting an error that states "Uncaught (in promise) Error: TodoList has not been deployed to detected network (network/artifact mismatch)". This is with the code that forked from the original and have not modified.

Make sure your Metamask is connected on the Ganache test chain you've configured!

Did you write the migration.js ? I used to get the same error before , creating the follwing file in migrations folder solved the problem for me
image

I was having the same issue. It was resolved when I changed the browser. I was using Brave and the code is not working in the same. I switched to Firefox and It worked. Hope this helps :)