IsADirectoryError in component_request_handler
Hello,
I've noticed recurrent "IsADirectoryError" messages in the logs of our cloud-hosted Streamlit repository. Despite no current issues being visible to the end users, I would like to proactively address this.
Could anyone shed light on the severity of this error and potential preventative measures?
ComponentRequestHandler: GET /opt/venv/lib/python3.8/site-packages/streamlit_javascript/frontend/build read error Traceback (most recent call last): File "/opt/venv/lib/python3.8/site-packages/streamlit/web/server/component_request_handler.py", line 55, in get with open(abspath, "rb") as file: IsADirectoryError: [Errno 21] Is a directory: '/opt/venv/lib/python3.8/site-packages/streamlit_javascript/frontend/build'
This error looks like you did not build the frontend before using pip install. This is a very serious problem as you don't have the browser side code to respond to your streamlit python call