# codegen.noComponents: The environment serves no component

> The environment serves no component. What the error codegen.noComponents means and what to do about it.

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

## What to do

Attach a component with `taggor attach <component> --site <site>` and check with `taggor sites show <site>` that the environment serves a version of it; staging and production can serve different versions, so name the one your app loads.

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