> ## 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

> 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

<CardGroup cols={2}>
  <Card title="Error codes" icon="triangle-exclamation" href="/akua/errors">
    What each structured error means and how to resolve it.
  </Card>

  <Card title="akua pkg commands" icon="terminal" href="/akua/cli">
    Every command, the universal flags and the exit codes.
  </Card>
</CardGroup>


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