After changing the location of my flow file, I get an error when trying to run prefect deploy :`Conflicting entry found for flow with name`

If you see this error when you run prefect deploy:

Conflicting entry found for flow with name ‘task-wrapped-deployments’: task-wrapped-deployments: public-repos/prefect-patterns/flows/

Try removing that flow’s entry from ~/.prefect/flows.json or the flows.json that may have been created at the root of your repo if you were using an earlier version of the beta deployment yaml pattern.

Check out this github issue for more information:

1 Like