Build Project Ionic v1 with CLI 3.20


#1

Hi Guys, I need your help, can you tell me how do I start a build Android/iOS/browser, for Ionic v1, but I installed on the system Ionic 3.

ionic info:

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0
Gulp CLI              : CLI version 3.9.1 Local version 3.9.1

local packages:

Cordova Platforms : browser 5.0.3 ios 4.5.4
Ionic Framework   : ionic1 1.2.4

System:

Node  : v9.11.1
npm   : 5.8.0
OS    : macOS High Sierra
Xcode : Xcode 9.3 Build version 9E145

Environment Variables:

ANDROID_HOME : not set

FROM package.json:

{
    "name": "MyApp",
    "version": "0.0.1",
    "description": "An Ionic project",
    "devDependencies": {
        "bower": "^1.3.3",
        "gulp": "^3.5.6",
        "gulp-clean-css": "^3.7.0",
        "gulp-rename": "^1.2.0",
        "gulp-sass": "^2.3.2",
        "gulp-util": "^2.2.14",
        "shelljs": "^0.3.0"
    },
    "dependencies": {
        "cordova-android": "7.0.0",
        "cordova-browser": "5.0.3",
        "cordova-ios": "4.5.4",
        "cordova-plugin-device": "^1.1.7",
        "cordova-plugin-firebase": "^0.1.25",
        "cordova-plugin-ionic-webview": "^1.1.16",
        "cordova-plugin-splashscreen": "^4.1.0",
        "cordova-plugin-whitelist": "^1.3.3",
        "gulp": "^3.5.6",
        "gulp-concat": "^2.2.0",
        "gulp-minify-css": "^0.3.0",
        "gulp-rename": "^1.2.0",
        "ionic-plugin-keyboard": "^2.2.1"
    },
    "cordovaPlugins": [
        {
            "locator": "https://github.com/apache/cordova-plugin-whitelist.git",
            "id": "cordova-plugin-whitelist"
        },
        "airwatch-sdk-plugin",
        "cordova-plugin-firebase",
        {
            "locator": "https://github.com/katzer/cordova-plugin-local-notifications.git",
            "id": "de.appplant.cordova.plugin.local-notification"
        }
    ],
    "cordova": {
        "plugins": {
            "cordova-plugin-device": {},
            "cordova-plugin-ionic-webview": {},
            "cordova-plugin-splashscreen": {},
            "cordova-plugin-whitelist": {},
            "ionic-plugin-keyboard": {},
            "cordova-plugin-firebase": {}
        },
        "platforms": [
            "ios",
            "browser",
            "android"
        ]
    }
}

Error when I try the build:
Running command: path…/hooks/after_prepare/_010_add_platform_class.js

I am grateful if you would help me!!! :muscle: