-
Notifications
You must be signed in to change notification settings - Fork 3
plat 494
github-actions[bot] edited this page Oct 5, 2026
·
1 revision
| Coordination | Value |
|---|---|
| State | fixed on main; takes effect on the next launch |
| Date | 2026-10-05 |
| Owner | frontend-chat |
run_server_with_logging.sh ran npm install on every start (since 2026-06-01) and exited if it failed. On 2026-10-05 a
half-finished install left a temp folder and a stray node_modules/node_modules in the main checkout, npm install failed with
ENOENT/ENOTDIR, and the frontend could not start although the packages already there would have worked.
-
ensure_frontend_depsrunsnpm installonly whenpackage.jsonorpackage-lock.jsonchanged since the last successful install (a stamp innode_modules). Otherwise it skips. - If the install fails but
node_modules/.bin/viteexists, it warns (with therm -rf node_modules && npm cirepair command) and starts anyway. It still stops when there is nothing usable. - Checked with a fake
npm: first install, unchanged skip, changed + failing install with vite present (warn), failing with nothing usable (stop).
- The damaged
node_modulesin the main checkout still needsrm -rf node_modules && npm cionce (the helper cannot repair it). - The desktop (Electron) dependency install is unchanged: it only runs when the Electron binary is missing.
Auto-synced from docs/ on main. Edit there, not here.