@Hun Hui Posting the solution from the other thread referenced.
Please try the workaround to disable tracing and redeploy the flow by setting the env var "PF_DISABLE_TRACING" to true, this can avoid the potential error at this time.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.