# Known issues

## `Type '{}' is not assignable to type 'ReactNode'`

Error example:

```
Erro: ReactNode' is not assignable to type 'React.ReactNode'. Type '{}' is not assignable to type 'ReactNodeReactNode' is not assignable to type 'React.ReactNode'. Type '{}' is not assignable to type 'ReactNode'
```

For those who have this type of error in the APP, just add this item to `resolutions` in the `package.json` file and run a `preinstall` script:

### Solution

* Add the items below inside `package.json`

```
"resolutions": {
    .....
    "@types/react": "^17.0.38"
    ....
  },


"scripts": {
    ......
    "preinstall": "yarn --package-lock-only --ignore-scripts"
    ......
  },
```

* Execute:

```
yarn preinstall
yarn
```


---

# 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://oviniciusfeitosa.gitbook.io/knowledge/technology/programming/programming-languages/javascript/known-issues.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.
