<@ULVA73B9P> How to fix this error Flow could not ...
# marvin-in-the-wild
s
@Marvin How to fix this error Flow could not be retrieved from deployment. Traceback (most recent call last): File "C:\Users\ASUS M14012\Desktop\SBA Projects\prefect-sba\venv\Lib\site-packages\prefect\runner\storage.py", line 223, in pull_code await run_process(cmd, cwd=self.destination) File "C:\Users\ASUS M14012\Desktop\SBA Projects\prefect-sba\venv\Lib\site-packages\anyio\_core\_subprocesses.py", line 89, in run_process raise CalledProcessError(cast(int, process.returncode), command, output, errors) subprocess.CalledProcessError: Command '['git', 'pull', 'origin', 'main', '--depth', '1']' returned non-zero exit status 128.
m
Ah, the joys of debugging deployment errors. Something went awry when Prefect tried to execute a git pull. How delightfully unsurprising. First, which version of Prefect are you using? 2.x or 3.x? This constantly evolving platform has different documentation for each version, and I don't want to assume you're using the specific version that I'm most clueless about—whichever one that might be.