# More than one lockfile

What "more than one lockfile" means and how to fix it.

```text
warning: this monorepo has more than one lockfile, so Axle went by pnpm-lock.yaml and ignored package-lock.json
hint: Delete the lockfiles of package managers you don't use.
```

## Why it happens

The root has lockfiles from more than one package manager, and neither `devEngines.packageManager` nor `packageManager` says which one you use. Axle picks the first in the order on [structuring a repository](https://axlers.dev/docs/crafting-your-repository/structuring-a-repository.md#the-package-manager).

## How to fix it

Delete the lockfiles of package managers you don't use, or set the `packageManager` field in the root `package.json`.
