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

# E_ADD_INVALID_DEP

> Commands error reported by akua pkg

`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 theme={null}
{
  "level": "error",
  "code": "E_ADD_INVALID_DEP",
  "message": "...",
  "docs": "https://cli.akua.dev/errors/E_ADD_INVALID_DEP"
}
```

## Related topics

> **[Error codes](https://akua-1dce587a.mintlify.site/akua/errors.md)**
>
> What each structured error means and how to resolve it.

> **[akua pkg commands](https://akua-1dce587a.mintlify.site/akua/cli.md)**
>
> Every command, the universal flags and the exit codes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.