# codegen.foreignFiles: A file of yours is where a generated file goes

> A file of yours is where a generated file goes. What the error codegen.foreignFiles means and what to do about it.

| Where            |
| ---------------- |
| the `taggor` CLI |

## What to do

Move the files the message lists out of the folder, or give `--dir` a folder used only for generated files. `--force` replaces them. Nothing was written.

## If it keeps happening

Run the command again with `--json` and write to contact@taggor.dev with the `error.code` and the message it prints.
