What does this means?network/artifact mismatch Contract has not been deployed to detected network but when i write truffle network i can see mine.


An artifact is a json file inside the build/ directory that contains information of the contract's deployment. For example address, network id and libraries linked.

The mismatch error appear when the information in the artifacts doesn't match the current network.

  • Sometimes it happens because the network id has changed. For example ganache by default will use a different id every time.
  • Other by a Truffle bug that stores an invalid network id in the artifact.
  • 1
    i ffound it dapper was the issue – Panos Kor Jun 27 '19 at 17:26
  • @PanosKor Please, add as an answer how you solved your issue so it can help others. – Ismael Jun 27 '19 at 18:43

Well i had an extesion called Dapper..so i unistall it and it;s ok now!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.