Azure-Samples / graphrag-accelerator

One-click deploy of a Knowledge Graph powered RAG (GraphRAG) in Azure
https://github.com/microsoft/graphrag
MIT License
1.82k stars 295 forks source link

[BUG] Cannot start devcontainer - missing pyproject.toml file in /graphrag-accelerator or its parents #196

Open cf-rdegregory opened 19 hours ago

cf-rdegregory commented 19 hours ago

Describe the bug The devcontainer cannot start due to a missing Poetry config file, which is causing the entrypoint.sh file to fail.

To Reproduce Steps to reproduce the behavior:

  1. Clone the repo.
  2. Open the repo in VS Code.
  3. Use VS Code's Reopen in Container feature. image
  4. View build logs.
  5. View error (see Screenshot below).

Expected behavior devcontainer starts.

Screenshots image

Desktop (please complete the following information):

Additional context I believe that this is due to the fronted and backend both having pyproject.toml files, while the entrypoint.sh file attempting to run poetry install from the root of the repository.

cf-rdegregory commented 19 hours ago

When I cd backend/ and then run poetry install, I'm given a different, permissions-based error when creating the venv.

image