This short blog post talks about why you get this error and how to fix “Unnecessarily replacing a task that does not exist is not supported”.