Files
DeepTutor/deeptutor/runtime
connectedGraph ec497e834b fix(launcher): auto-run npm ci when web/node_modules is missing (#710)
Before this change, deeptutor start on a fresh source checkout
(git clone + pip install -e .[cli]) crashed immediately with:

  Error: Cannot find module '...web/node_modules/next/dist/bin/next'
  RuntimeError: Frontend exited with code 1

because _resolve_frontend() ran
pm run dev without checking
whether web/node_modules existed first.

Fix: when the source web dir is detected and
ode_modules is absent,
run
pm ci (or
pm install if no lockfile) automatically before
handing control to the dev server. A non-zero exit raises a clear
SystemExit so the user sees the npm error and knows what to fix.

Closes #709
2026-07-27 20:54:47 +08:00
..
2026-06-17 00:56:27 +08:00
2026-06-17 00:56:27 +08:00
2026-06-11 20:03:34 +08:00
2026-05-11 12:59:56 +08:00
2026-04-23 19:29:16 +08:00
2026-06-17 00:56:27 +08:00
2026-06-18 00:22:48 +08:00