# A package has no name

What "a package has no name" means and how to fix it.

```text
error: packages/tools/package.json has no "name"
hint: Add a "name" to that package.json, or change the workspace patterns so its folder isn't included.
```

## Why it happens

A folder matched by the workspace patterns has a `package.json` without a `name` field. Axle needs the name to know which packages depend on it.

## How to fix it

Add a `"name"` to that `package.json`. If the folder isn't meant to be a package, leave it out of the patterns, for example with `!packages/tools`; see [glob patterns](https://axlers.dev/docs/reference/globs.md).
