Troubleshooting
Troubleshooting matrix: real failures and the shortest fix
Every failure mapped to one first check.
Editor is blank
npm install failed mid-way or monaco missing; rerun npm install; restart; confirm console errors in devtools.
Git commands hang
Git not on PATH or interactive credential prompt suppressed by shell:false; set up credential helper; rerun.
node-pty load failure
Install Desktop development with C++ workload; run npx electron-builder install-app-deps; restart.
Build fails after dependency update
Delete node_modules and dist; npm install; npm run build; verify dist/ portable and setup.exe artifacts.
Unsaved work lost
Occurred if app crashed without writing recovery; v0.17 recovery covers most; upgrade and re-check.
Terminal garbage characters
Use UTF-8 codepage; avoid legacy cp850; switch shell if possible; resize terminal.