kalimera new --continue hangs or errors with "Required." in a non-interactive shell

Required.
Scaffolding stopped. Fix the issue above and re-run, or continue manually inside the app directory.
When

Resuming a failed scaffold with kalimera new --continue — either without the app name as a second argument, or while running the command from inside the app directory itself.

Why it happens

Without an explicit app-name argument, kalimera falls back to an interactive prompt asking what the application should be named. In a non-interactive shell (CI, a scripted run, an agent without a TTY) that prompt has nothing to read and fails immediately. Passing just --continue doesn't skip this — only a name/path positional argument does. And because the target path is resolved relative to the current working directory, running from inside the app directory itself resolves to a nested, wrong path even when a name is supplied.

Fix

Run it from the parent directory with the app name as the second argument:

cd ~/www && kalimera new <app-name> --continue --defaults

--continue reuses the answers saved in the app's .kalimera.json, so --defaults only matters for the final "Scaffold the application now?" confirmation — include it anyway so nothing prompts.

If the application directory is not there at all — you deleted it to start over, or the first run died before it was created — --continue has nothing to resume and runs as an ordinary fresh scaffold. That is deliberate: a resume promises to leave the previous run's containers and volumes alone, which would be exactly the wrong thing to do while creating a new application under a name Docker still has a project for.

The same file lists, under completedSteps, the steps the failed run finished, and a resume skips them — so it starts at the step that broke instead of replaying the whole plan. Starting the Sail containers is the one exception and always runs: a checkpoint records that they were started once, not that they are up now. To force a completed step to run again, delete its entry from completedSteps (or empty the list to replay everything).

The two halves of the file work together, and that matters when the fix is to change an answer. Editing answers — dropping a package that will not resolve, adding a quality tool you decided you want — only reaches the steps still left to run. A step already listed in completedSteps is skipped no matter what its answers now say, so delete its entry there too when the edit belongs to work that already happened.

A run that failed on an earlier kalimera release left its answers flat in .kalimera.json and its steps in a separate .kalimera-steps.json. Both are still read, and folded into the one file on the first write.

Still stuck? Open an issue with your --log transcript.

All troubleshooting entries