Troubleshooting
Supercharger is a local app with three moving parts: the web UI, the local API server, and optional Docker sandboxes. You do not need to be an engineer to debug most issues. Treat it like a support case: identify the symptom, check the simplest likely cause, then gather the evidence an agent needs if you ask for help.
First checks
Section titled “First checks”When something looks wrong, start here:
-
Confirm the app is running from the Supercharger project folder.
Terminal window cd Superchargernpm run dev -
Open the web UI:
http://localhost:4401 -
If you changed server code, stopped a terminal, or pulled new changes, stop the old process with Ctrl+C and run the app again:
Terminal window npm run dev -
Hard refresh the browser. A stale tab can keep showing old UI state after the local server has changed.
What should be running?
Section titled “What should be running?”This command starts two local services:
npm run dev| Service | Address | What it does |
|---|---|---|
| Web UI | http://localhost:4401 | The React app you click through. |
| API server | http://localhost:4400 | Reads tracks, preps, progress, and starts sandboxes. |
If the web UI loads but content is missing, suspect the API server first.
Common symptoms
Section titled “Common symptoms”node, npm, or git command not found
Section titled “node, npm, or git command not found”Likely cause: a required setup tool is not installed yet, or the terminal was opened before the installer finished.
Fix:
-
Install Node.js LTS.
-
Install Git, or clone the project with GitHub Desktop.
-
Close and reopen Terminal.
-
Check again:
Terminal window node --versionnpm --versiongit --version
If the version commands work, return to the Quickstart.
The browser says it cannot connect
Section titled “The browser says it cannot connect”Likely cause: the app is not running.
Fix:
npm run devLeave that terminal open while using Supercharger. Closing it stops the app.
Port already in use
Section titled “Port already in use”Likely cause: an old Supercharger process is still running.
Fix:
-
Find the terminal where
npm run devis already running. -
Press Ctrl+C.
-
Run the app again:
Terminal window npm run dev
If you cannot find the old terminal, ask your agent:
Find and stop the stale Supercharger processes on ports 4400 and 4401, then restart npm run dev.A prep exists, but analysis or plan tabs are missing
Section titled “A prep exists, but analysis or plan tabs are missing”Likely cause: the GUI only saved the inputs. The agent has not generated the prep files yet.
Fix:
Generate the prep for preps/<prep-id>/.After generation, the prep folder should contain:
analysis.mdplan.mdinterview-prep.mdIf there are skill gaps, it may also contain:
curriculum.jsontrack-requests.jsonThe Plan mentions gap tracks, but Curriculum is empty
Section titled “The Plan mentions gap tracks, but Curriculum is empty”Likely causes:
curriculum.jsonwas not written.track-requests.jsonwas not written.- The browser is still connected to an old server process.
Checks:
-
In the prep folder, confirm these files exist:
preps/<prep-id>/curriculum.jsonpreps/<prep-id>/track-requests.json -
If they exist, restart the app:
Terminal window # in the terminal running SuperchargerCtrl+Cnpm run dev -
Refresh:
http://localhost:4401/#/prep/<prep-id>/curriculum
If the files do not exist, ask your agent:
Read preps/<prep-id>/plan.md and create curriculum.json and track-requests.json for the suggested gap tracks.Create shows a spinner forever
Section titled “Create shows a spinner forever”This is expected until an agent creates the actual track folder.
The Create button records the request in track-requests.json; it does
not secretly launch Codex, Claude Code, or Gemini. That is intentional:
Supercharger stays provider-neutral and inspectable.
Ask your agent:
From the cloned Supercharger project folder, create the requested tracks marked creating in preps/<prep-id>/track-requests.json.Follow SPEC.md and include createdBy and sourcePrep in each track.yaml.When the agent creates tracks/<track-id>/track.yaml, the Curriculum button
changes from waiting to Start.
A track was created, but it does not appear
Section titled “A track was created, but it does not appear”Likely causes:
- The track folder is missing
track.yaml. track.yamlhas invalid YAML.- The app needs a refresh.
Ask your agent:
Validate tracks/<track-id>/track.yaml against SPEC.md and fix any YAML or lesson-list problems.Then refresh the app.
Start environment fails
Section titled “Start environment fails”Likely causes:
- Docker is not running.
- The sandbox image failed to build.
- The lesson’s Dockerfile or check script has a problem.
Fix:
-
Start Docker Desktop or OrbStack.
-
Try Start environment again.
-
If it still fails, copy the error message and ask your agent:
Debug the sandbox for tracks/<track-id>/<lesson-id>/. The Start environment button failed with this error: <paste error>.
Check my work fails
Section titled “Check my work fails”This is usually the lesson doing its job. Read the checkpoint name and hint. Support work often feels like this: you do not need to know everything, but you do need to read the evidence carefully.
If the hint seems wrong or impossible, ask your agent:
Review the check script for tracks/<track-id>/<lesson-id>/sandbox/check. Is the failure due to my work or a broken checkpoint?Progress looks wrong
Section titled “Progress looks wrong”Progress is stored locally in progress.json. If lessons appear incomplete
after you passed them, check whether you are running a different copy of the
repo or whether progress.json changed.
Do not delete progress.json unless you intentionally want to reset progress.
What to paste when asking an agent for help
Section titled “What to paste when asking an agent for help”Good support reports are specific. When asking an agent to debug Supercharger, include:
- The URL you were on.
- What you clicked.
- What you expected.
- What happened instead.
- Any visible error message.
- The prep or track id, such as
product-support-specialistorsql-fundamentals. - Whether
npm run devis currently running.
Template:
I am using Supercharger at <url>.I clicked <button/link>.I expected <expected result>.Instead I saw <actual result/error>.The relevant prep/track is <id>.Please inspect the repo and fix the issue without touching progress.json.Mental model
Section titled “Mental model”Most Supercharger issues fit one of four buckets:
| Bucket | Plain-English meaning |
|---|---|
| App not running | The local services are stopped or stale. |
| Content missing | The agent has not written the expected markdown/JSON files yet. |
| Content invalid | A markdown, YAML, or JSON file exists but does not match the spec. |
| Sandbox issue | Docker or the lesson’s container/check script needs attention. |
That is the same troubleshooting pattern you use in technical support: separate the surface symptom from the system underneath, gather evidence, and fix the smallest confirmed cause first.