# Troubleshooting

## Check the installed version

```bash
npm ls @qentrah/templates
```

Compare the installed version with the version noted in this guide. Inspect your lockfile before changing dependencies; prerelease behavior may differ between versions.

## Import or module errors

Use only public import paths listed in [API and exports](/docs/npm-templates/reference). Avoid importing guessed paths inside `dist`. ESM-only packages require an ESM-aware application. Install declared peer dependencies in the consuming application.

## Rendered HTML versus components

The renderers return strings, not React elements. Supply all required data properties and send the output as HTML from a server route. Some legacy templates reference external CSS or scripts and retain older branding; inspect the rendered output before adopting a template.

## Content handling

The renderer interpolates HTML strings. Treat `content` and other template inputs as trusted server-owned content or sanitize untrusted values in your application before rendering. Rendering a string does not authenticate a user or authorize an action.