Skip to content
Docs
Errors

internal_error

`disko` hit an unexpected error that has no specific code.

Kinddisko command error
disko exit code1 (problems)

Any command reports internal_error when it fails in a way the CLI does not anticipate, for example a file system error while writing --out. It is a bug in disko. The command exits with code 1 and, like every exit code 1, reports it as a problem: problems holds one entry with the code internal_error, and the message starts with unexpected error: followed by the underlying cause.

json

With disko dev --json, the same fields arrive in the final stopped event.

Fix

  • Read the cause in the message; it often names a file or permission problem you can fix directly.

  • Run the command again. For a publish, a failed attempt never uses up the version.

  • If the error persists, report it with the command you ran and the output of the same command with --json.

See also