Skip to main content

Troubleshooting

Start with:

42space doctor
42space status

A tool shows as broken​

status says broken when a tool's install no longer matches what was installed (files deleted or corrupted). 42space sync repairs it. For VS Code extensions, 42space vscode says what is wrong with each one; for projects, 42space repos does.

Sync deferred or failed​

The summary line counts what happened:

✓ node installed
… npm-globals offline: npm needs the network
4 ok, 1 deferred (3.2s)
hint: deferred tools need the network; they are retried at the next login or `42space sync`
  • Deferred tools need the network. They are retried automatically.
  • Failed tools keep their previous install on PATH where there was one.
  • Waiting for approval means a script recipe changed: run 42space recipe approve <name>.

goinfre is missing​

error: /goinfre/student is missing or not writable; nothing can be installed on this machine

Your setup in HOME is fine. Sync on a machine where goinfre is available.

More detail​

  • 42space sync -v also lists tools that are up to date.
  • SPACE42_DEBUG=1 42space <command> shows the full traceback of an unexpected error. Please include it when reporting a bug.
  • SPACE42_OFFLINE=1 makes 42space behave as if there were no network.