# No package.json found

What "no package.json found" means and how to fix it.

```text
error: no package.json or axle.toml found in /home/me/notes or any folder above it
hint: Run axle inside a repository: a folder that has a package.json or an axle.toml, or any folder below it.
```

## Why it happens

Axle looked in the folder you ran it in and in every folder above it, and none of them has a `package.json`, a `pnpm-workspace.yaml` or an `axle.toml`. An `axle.toml` counts only up to the top of the Git repository.

## How to fix it

Run Axle from inside your repository. See [structuring a repository](https://axlers.dev/docs/crafting-your-repository/structuring-a-repository.md) for the files Axle looks for.
