Blank frontend page after full project setup #6057
Replies: 1 comment
-
Hey @Darkstrouk! I'm here to help you with your project setup. I can assist with bugs, questions, and becoming a contributor while you wait for a human maintainer. Let's take a look at the issue together! A similar issue was reported and resolved in a closed thread. The suggested solution was to run Additionally, since you are using MacOS with M2 Apple Silicon, ensure that the You might want to check if these solutions apply to your setup. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
Hi!
It seems to me I've properly setup both frontend and backend, started successfully backend (healt checks from /docs work), also started front but after opening http://localhost:3000/ - see nothing.
npm version - 10.7.0
Python version - 3.11
OS - MacOS on M2 Apple Silicon
What have I done step by step:
cloned project
backend:
cd src/backend/base
python -m venv venv
source venv/bin/activate
pip install uv
uv pip install langflow
python -m uvicorn --host 0.0.0.0 --port 7860 --factory langflow.main:create_app
...
INFO 2025-02-01 13:41:35 - INFO - init - Application startup complete. init.py:1706
INFO 2025-02-01 13:41:35 - INFO - init - Uvicorn running on http://0.0.0.0:7860/
frontend:
cd src/frontend
npm install
npm run build (done it in purpose to set path in .env)
npm start
[email protected] start
vite
VITE v5.4.14 ready in 1867 ms
➜ Local: http://localhost:3000/
➜ Network: use --host to expose
➜ press h + enter to show help
my .env file (just copied from example - nothing secret) :
LANGFLOW_CONFIG_DIR=~/.langflow
LANGFLOW_SAVE_DB_IN_CONFIG_DIR=true
LANGFLOW_DATABASE_URL=sqlite:///./langflow.db
LANGFLOW_DATABASE_CONNECTION_RETRY=false
LANGFLOW_LANGCHAIN_CACHE=SQLiteCache
LANGFLOW_HOST=127.0.0.1
LANGFLOW_WORKERS=1
LANGFLOW_PORT=7860
LANGFLOW_LOG_LEVEL=info
LANGFLOW_LOG_FILE=logs/langflow.log
LANGFLOW_FRONTEND_PATH=src/frontend/build/
LANGFLOW_OPEN_BROWSER=false
LANGFLOW_REMOVE_API_KEYS=false
LANGFLOW_CACHE_TYPE=memory
LANGFLOW_AUTO_LOGIN=true
LANGFLOW_SUPERUSER=<my_user_here>
LANGFLOW_SUPERUSER_PASSWORD=<my_user_pass_here>
LANGFLOW_STORE_ENVIRONMENT_VARIABLES=false
BACKEND_URL=http://localhost:7860/
I also have tried to check routes in .tsx files but saw just / should works well. So I really don't understand why I see nothing after opening http://localhost:3000/
Hope someone can point out a stupid mistake that I made :)
Beta Was this translation helpful? Give feedback.
All reactions