# compat-check

## Description

* Check the compatibility of one or more MiniApps with a given native application version.
* Display a compatibility report indicating if the MiniApps are compatible with the given native application version
* Display a formatted table listing all compatible dependencies and their versions as well as incompatible dependencies to help you pinpoint any problematic non-compatible native dependencies

## Syntax

`ern compat-check`

* You can run the `ern compat-check` command without arguments if you are in a MiniApp directory.
* If you run the `ern compat-check` command without arguments and you are not in a MiniApp directory, the command logs an error and exits.

`ern compat-check <miniapp>`

* Check the compatibility of a specified MiniApp with a native application version &#x20;

  The MiniApp can be any valid Yarn package descriptor or you can use Git or other file system path scheme.

**Options**

`--miniapps/-m`

* Check the compatibility of one or more MiniApps with a native application version &#x20;

  The MiniApps can be any valid Yarn package descriptor or you can use Git or other file system path scheme.

`--descriptor/-d`

* Check the compatibility of one or more MiniApps with a native application version &#x20;

  Specify the native application version as a *complete native application descriptor* for which to check compatibility with the MiniApps


---

# 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://native.electrode.io/v0.48/cli-commands/compat-check.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.
