Random Error generating when running streamlit application

I created a Login page. I connected this page with my database.
I am running this application locally on my Windows 11 machine.
I am getting a pop-up that says

**Bad message format**
Cannot read properties of undefined (reading 'pageScriptHash')

This error is not showing in terminal, therefore I am not able to trace it as well.

Below are the versions of packages:

python : 3.11.0
streamlit : 1.30.0
sqlalchemy : 2.0.27