# HAMUR_E0221: An extends entry is a remote layer

An extends entry is a remote layer. Error `HAMUR_E0221` belongs to `hamur`, config, environment and command line (0001 – 0999).

## Message

```text
HAMUR_E0221 extends[<index>] "<display>" is a remote layer, which was removed; add it as a dependency (bun add <display>) and extend its package name
```

## Cause

An entry of `extends` starts with `github:`, `gh:`, `gitlab:` or `https:`. Hamur no longer downloads layers while the config loads: a layer from git or a tarball is a package dependency, installed and locked by the package manager.

## Fix

Add the layer as a dependency with the command the message shows, for example `bun add github:acme/base#v2`, and list its package name in `extends`, as in `extends: ["@acme/base"]`. A private repository authenticates through `.npmrc` or `bunfig.toml`.
