# A task waits for a task that doesn't exist

What "dependsOn names a task that isn't a task in this repository" means and how to fix it.

```text
error: dependsOn of web#build at axle.toml:2 names ^biuld, which isn't a task in this repository
hint: Did you mean build?
```

## Why it happens

`dependsOn` or `with` in an `axle.toml` names a script that no package has, or a package's task, such as `api#dev`, where the package or its script doesn't exist. The message names the file and line the list comes from.

A `^build` entry where only some packages have `build` is fine: the others pass their dependencies through. So is a same-package entry, such as `codegen`, that only some packages have.

## How to fix it

Fix the name, or add the script to the package that should have it. `axle list` shows every package and its scripts, and [`axle show`](https://axlers.dev/docs/reference/show.md) shows where a package's `dependsOn` comes from.
