# compat-check

## Description

* Check the compatibility of one or more MiniApps with a given native application version.  &#x20;
* Display a compatibility report indicating if the MiniApps are compatible with the given native application version &#x20;
* 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 &#x20;

## Syntax

`ern compat-check`

* You can run the `ern compat-check` command without arguments if you are in a MiniApp directory. &#x20;
* 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. &#x20;

`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. &#x20;

**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. &#x20;

`--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 &#x20;
