dappuniversity / eth-todo-list

Blockchain Todo App Tutorial Powered by Ethereum Smart Contracts
549 stars 549 forks source link

Contract not deployed to network #8

Open ElMarchk0 opened 3 years ago

ElMarchk0 commented 3 years ago

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.

kristiehuang commented 2 years ago

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

asifDaps commented 2 years ago

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

ShreyashRoyzada commented 2 years ago

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 :)