Hey prefect team i am getting below error while de...
# ask-community
s
Hey prefect team i am getting below error while deploying a flow
Copy code
File "/runner/_work/cc-dbt/cc-dbt/flows/.venv/lib/python3.11/site-packages/prefect/cli/deploy.py", line 266, in deploy
    for name in names:
TypeError: 'NoneType' object is not iterable
An exception occurred.
deployment file in thread
b
I got these too. if you are able to install the latest prefect it solved it for me
s
this version 2.18.1
b
I'm on prefect==2.17.1 so anything higher should work.
s
got it thanks
but i am confused because i am getting this only on one flow but other repos deployment is working fine
i am using prefect 2.11
🫠 1
b
How's the weather in 2005?! 🙃
s
Testing if it works with update 2.17.1
k
this is a
typer
thing which is one of the dependencies for our CLI
they broke some stuff, and we now are more restrictive about which version of
typer
we depend on
upgrading should work, but if there's a reason you don't want to upgrade the version of prefect for production workflows let me know and I can provide additional instructions
🙌 1
s
that will be great. I am testing with the upgrade but if for a reason it doesn't work please provide the additional instructions. Thank you so much
💯 1
k
yep just gonna double check my recommendation works before posting it
s
thank you sire
k
you should be good to
pip install typer==0.12.3
or add
typer==0.12.3
to your requirements.txt
gratitude thank you 1