Skip to content
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

Contract not deployed to network #8

Open
ElMarchk0 opened this issue Mar 13, 2021 · 3 comments
Open

Contract not deployed to network #8

ElMarchk0 opened this issue Mar 13, 2021 · 3 comments

Comments

@ElMarchk0
Copy link

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
Copy link

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

@asifDaps
Copy link

asifDaps commented Nov 7, 2021

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants