Uncaught (in promise) Error: TodoList has not been deployed to detected network (network/artifact mismatch) #5226
Replies: 4 comments 16 replies
-
@Smit-05 thanks for opening this. We move to discussion instead of issue so that our customer support can help you. |
Beta Was this translation helpful? Give feedback.
-
Thanks for reaching out. It looks like the contract was not deployed on the network you are running. Could you please share which video tutorial you are following, your github repo of your project or your truffleconfig.js file? Any additional screenshots or logs are greatly appreciated. Kind regards, |
Beta Was this translation helpful? Give feedback.
-
same issue have you found out your problem ? if so plz lemme know |
Beta Was this translation helpful? Give feedback.
-
press ctrl+c in MinGW terminal it should work now |
Beta Was this translation helpful? Give feedback.
-
Issue
I am new to truffle and blockchain world and I have tried following a youtube video to make this project. But I am getting an error in deploying the contract.
Uncaught (in promise) Error: TodoList has not been deployed to detected network (network/artifact mismatch)
at truffle-contract.js:456:17
at async Object.loadContract (app.js:60:20)
at async Object.load (app.js:13:5)
Forgive me for the rudeness as it is my first issue.
TodoList.sol
app.js
2_deploy_contracts.js
Environment
truffle version
):Truffle v5.0.2 (core: 5.0.2)
Solidity v0.5.0 (solc-js)
node --version
): v16.15.0npm --version
): 8.12.1Beta Was this translation helpful? Give feedback.
All reactions