Skip to content

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

Open
vishwa-radhya wants to merge 1 commit into
ronreiter: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 into
ronreiter:masterfrom
vishwa-radhya:fix-dev-server-crash

Conversation

@vishwa-radhya

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

Copy link
Copy Markdown

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

1 participant