# Two want to write the same file

What "both want to write" means in axle sync and how to fix it.

```text
error: the plugin owners and the plugin codeowners both want to write .github/CODEOWNERS
hint: Change the settings of one of them so that only one writes the file.
```

## Why it happens

[`axle sync`](https://axlers.dev/docs/reference/sync.md) writes the `tsconfig.json` references that `typescriptReferences` under `[sync]` asks for and the files that plugins which can `sync` want. Two of them want to write the same file, so whichever wrote last would undo the other. Axle writes nothing.

## How to fix it

Choose one to own the file. Turn the file off in the other plugin's settings, or remove that plugin from `axle.toml`. For a `tsconfig.json`, either turn off `typescriptReferences` or stop the plugin writing it.
