# codegen.invalidTarget: Unknown codegen target

> Unknown codegen target. What the error codegen.invalidTarget means and what to do about it.

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

## What to do

Say what to write after `codegen`: `react` or `vue`. Example: `taggor codegen react --site <site> --dir src/taggor`.

## 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.
