Fail to load web page in DevContainer
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- devops, full-stack
Research direction
Reproduce the issue using the listed azd, backend, and frontend commands, then inspect the browser error and the output from backend/main.py and npm run dev. Done means the application loads normally at http://localhost:3000/ in the Dev Container.
Written by the indexing model from the issue text.
Description
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:
Repro Steps:
- Run
azd auth login. - Run
azd up. - Run
cd backend. - Run
python3 -m venv venvandsource venv/bin/activate. - Run
poetry install. - Run
azd env get-values > .env. - Run
poetry run generate. - Run
cd ../frontendandnpm install. - Run
cd ../backendandpython main.py. - Open a new terminal.
- Run
cd frontendandnpm run dev. - Open the url http://localhost:3000/.
Environment:
- Azd version: azd version 1.9.5 (commit cd2b7af9995d358aab33c782614f801ac1997dde)
- OS: Dev Containers
Expected behavior:
The web pag can load normally.
@jongio and @marlenezw for notification.
- Dominant language
- Python
- Stars
- 62
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure-Samples/llama-index-python
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Azure-Samples/llama-index-python#36 · 3 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Azure-Samples/llama-index-python#26 · 1 comment ·
All issues in Azure-Samples/llama-index-python
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100