I deployed a contract through remix and then I run the following code
MyContract.deployed()
.then(instance => {
c = instance;
return c.getCreator();
})
.then(result => {
console.log(result);
})
.catch(error => {
console.log(`${error}`);
})
It spits an error saying
Error: HelloWorld has not been deployed to detected network (network/artifact mismatch)
HelloWorld is just a JSON file that contains my ABI/Binary/etc generated from truffle