Streamlit throws an error when deployed on Posit Connect

I get the following error when running the deployed app:

Error: No such option: --global.disableWatchdogWarning (Possible options: --global.disableWidgetStateDuplicationWarning, --global.suppressDeprecationWarnings)

This exception is still affecting me after updating to version 1.37 of streamlit being deployed on posit connect. None of the recommendations in other forums helped. Can you please tell me how to fix this? I dont have a terminal in posit and cannot change the command that is used to run the streamlit app. I can define environment variables or create a config.toml file though.

1 Like