Azure-Samples / llama-index-python

This sample shows how to quickly get started with LlamaIndex.ai on Azure🚀
MIT License
46 stars 31 forks source link

Fail to load web page in DevContainer #28

Open zhangjiale-64 opened 3 months ago

zhangjiale-64 commented 3 months ago

Describe the issue: When both the Flask development server and the web application are started, open the url http://localhost:3000/, the following error message appears: image Repro Steps:

  1. Run azd auth login.
  2. Run azd up.
  3. Run cd backend.
  4. Run python3 -m venv venv and source venv/bin/activate.
  5. Run poetry install.
  6. Run azd env get-values > .env.
  7. Run poetry run generate.
  8. Run cd ../frontend and npm install.
  9. Run cd ../backend and python main.py.
  10. Open a new terminal.
  11. Run cd frontend and npm run dev.
  12. Open the url http://localhost:3000/.

Environment:

Expected behavior: The web pag can load normally.

@jongio and @marlenezw for notification.

faynef commented 2 months ago

@marlenezw Based on the latest code test, this issue can still be reproduced.

CC: @jongio