# HAMUR_E0004: An extends entry has the wrong shape

An extends entry has the wrong shape. Error `HAMUR_E0004` belongs to `hamur`, config, environment and command line (0001 – 0999). It is retired: nothing writes it any more.

## Message

```text
HAMUR_E0004 extends[<index>] must be a string or [string, { auth?: string; install?: boolean }]
```

## Cause

An entry of `extends` is neither a string nor a `[string, options]` pair.

## Fix

Write each layer as a string, or as `["github:owner/repo", { auth, install }]` for a remote layer.
