# Troubleshooting

## Error: "is not a known element"

🖥️ sample error message:

```
Template parse errors: 
‘app-input-button-unit' is not a known element:

1. If ‘app-input-button-unit' is an Angular 
component, then verify that it is part of this
module.

2. If ‘app-input-button-unit' is a Web
Component then add 'CUSTOM_ELEMENTS_SCHEMA' to
the '@NgModule.schemas' of this component to
suppress this message. ("

</h1>

[ERROR ->]<app-input-button-unit></app-input-
button-unit>
```

✅ solution

In older versions of Angular you need to put your components in that case to the declerations of angular module.

🗎 app.module.ts

```
@NgModule({
  declarations: [
    AppComponent,  // <= here
  ],
  imports: [
    BrowserModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ng-girls.gitbook.io/todo-list-tutorial/workshop-todo-list/troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
