> ## Documentation Index
> Fetch the complete documentation index at: https://docs.akua.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# E_ADD_INVALID_DEP

> akua pkg add or akua pkg update was given a dependency that is not valid: no source, more than one source, or a field the source kind does not allow.

`akua pkg add` or `akua pkg update` was given a dependency that is not valid: no source, more than one source, or a field the source kind does not allow.

## Shape

```json
{
  "level": "error",
  "code": "E_ADD_INVALID_DEP",
  "message": "...",
  "docs": "https://docs.akua.dev/akua/errors/E_ADD_INVALID_DEP"
}
```

## Related topics

> [card] [Error codes](https://docs.akua.dev/akua/errors.md)
>
> What each structured error means and how to resolve it.

> [card] [akua pkg commands](https://docs.akua.dev/akua/cli.md)
>
> Every command, the universal flags and the exit codes.
