[ERROR] Unable to find command: deploy add ionic deploy - (paid) Appflow Deploy functionality

HI all, I’m trying to deploy an ionic/cordova app using appflow. I’m following the documentation and have gotten to Install the Appflow SDK. When I run ionic deploy add I get

[ERROR] Unable to find command: deploy add

  ionic deploy - (paid) Appflow Deploy functionality

    Interface to execute commands about deploy builds on Ionic Appflow.
    
    Appflow deploy documentation:
    - Overview: https://ion.link/appflow-deploy-docs

  Usage:

    $ ionic deploy <command> [<args>] [--help] [--verbose] [--quiet] [--no-interactive] [--no-color] [--confirm] [options]

  Project Commands:

    build ........................... Create a deploy build on Appflow

My ionic info is as follows:

Ionic:

   ionic (Ionic CLI)             : 4.12.0 (/usr/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.4.0
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics    : 7.3.9
   @angular/cli                  : 7.3.9
   @ionic/angular-toolkit        : 1.5.1

Cordova:

   cordova (Cordova CLI) : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms     : android 8.0.0
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.0.1, (and 11 other plugins)

System:

   Android SDK Tools : 26.1.1 (/home/dave/Android/Sdk)
   NodeJS            : v10.13.0 (/usr/bin/node)
   npm               : 6.9.0
   OS                : Linux 4.15

My Appflow account is Starter Solo license ($0/mo) with 0/100 deploys.

Any help?

So I run npm install -g ionic@latest, npm install, restarted and run npm i -g native-run and now ionic deploy add is working. I can’t tell which solved the problem and I’m glad it’s.