Skip to content

fix dev server crash when runned locally using make run-local#871

Open
vishwa-radhya wants to merge 1 commit intoronreiter:masterfrom
vishwa-radhya:fix-dev-server-crash
Open

fix dev server crash when runned locally using make run-local#871
vishwa-radhya wants to merge 1 commit intoronreiter:masterfrom
vishwa-radhya:fix-dev-server-crash

Conversation

@vishwa-radhya
Copy link

@vishwa-radhya vishwa-radhya commented Mar 21, 2026

Description

The development server crashes when running using:

make build-local
DEFAULT_DOMAIN=learn-js.org make run-local

Error

FileNotFoundError / ValueError due to missing tutorial files (e.g., Welcome.md)

Observations

  • Happens when using Makefile setup
  • Manual run (python main.py) works after adding safeguards

Fix

  • Add checks before removing items from list
  • Handle missing files safely (try/except or existence checks)

closes #870

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dev server crashes when using make run-local due to missing files

1 participant