I recently built an app with streamlit and while trying to deploy it with streamlit sharing I faced an error. The app loads the first few lines of code quickly but gets struck and loads forever. The last four lines of the log seem to be representing the error:
[manager] Git pull failed: Git pull, cmd: sudo -u appuser git fetch origin && sudo -u appuser git reset --hard origin/main: error: exit status 128: From https://github.com/nikhil-adithyan/backtestzone
f71045a..7dcc647 main -> origin/main
error: unable to create file .streamlit/config.toml: Permission denied
error: unable to create file .streamlit/config.txt: Permission denied
fatal: Could not reset index file to revision 'origin/main'.
This is the GitHub repository: GitHub - Nikhil-Adithyan/BacktestZone: A streamlit app to backtest trading strategies. I couldn’t figure out what is wrong with my code but hoping any could help me out with it.