Ionic-cli, livereload and device

Hello!

I’m using ionic 2 but can’t use latest versions 2.1.1x of ionic-cli because of when run command ionic run android --device -lc client tells that cordova not found and Uncaught (in promise) runtime error message displays on device.

Plugins are installed, and code wrapped into this.platform.ready().

Project running ok on 2.1.8 (in separate window i run command npm run watch because of livereload issue).

Already posted this issue on https://github.com/driftyco/ionic-cli/issues/1773, no feedback. Please, help!

Here is the terminal output:

[10:28:37]  console.log: Angular 2 is running in the development mode. Call enableProdMode() to enable the production 
            mode. 
[10:28:37]  error opening ws message: {"category":"console","type":"info","data":["Ionic Storage 
            driver:","asyncStorage"]} 
[10:28:37]  console.warn: Native: tried calling StatusBar.overlaysWebView, but Cordova is not available. Make sure to 
            include cordova.js or run in a device/simulator 
[10:28:37]  console.warn: Native: tried calling Splashscreen.hide, but Cordova is not available. Make sure to include 
            cordova.js or run in a device/simulator 
[10:28:37]  console.warn: Native: tried accessing the GoogleMap plugin but it's not installed. 
[10:28:37]  console.warn: Install the GoogleMap plugin: 'ionic plugin add plugin.google.maps.Map' 
[10:28:37]  console.error: EXCEPTION: Uncaught (in promise): [object Object] 
[10:28:37]  console.error: ORIGINAL STACKTRACE: 
[10:28:37]  console.error: Error: Uncaught (in promise): [object Object] at s 
            (http://192.168.88.112:8000/build/polyfills.js:3:8568) at 
            http://192.168.88.112:8000/build/polyfills.js:3:8940 at t.invokeTask 
            (http://192.168.88.112:8000/build/polyfills.js:3:14051) at Object.onInvokeTask 
            (/Users/admin/desktop/ionic/node_modules/@angular/core/src/zone/ng_zone.js:229:37) at t.invokeTask 
            (http://192.168.88.112:8000/build/polyfills.js:3:13987) at e.runTask 
            (http://192.168.88.112:8000/build/polyfills.js:3:11411) at i 
            (http://192.168.88.112:8000/build/polyfills.js:3:8028) at HTMLDocument.invoke 
            (http://192.168.88.112:8000/build/polyfills.js:3:15204) 
[10:28:37]  console.error: EXCEPTION: Uncaught (in promise): [object Object] 
[10:28:37]  console.error: ORIGINAL STACKTRACE: 
[10:28:37]  console.error: Error: Uncaught (in promise): [object Object] at s 
            (http://192.168.88.112:8000/build/polyfills.js:3:8568) at s 
            (http://192.168.88.112:8000/build/polyfills.js:3:8391) at 
            http://192.168.88.112:8000/build/polyfills.js:3:8902 at t.invokeTask 
            (http://192.168.88.112:8000/build/polyfills.js:3:14051) at Object.onInvokeTask 
            (/Users/admin/desktop/ionic/node_modules/@angular/core/src/zone/ng_zone.js:229:37) at t.invokeTask 
            (http://192.168.88.112:8000/build/polyfills.js:3:13987) at e.runTask 
            (http://192.168.88.112:8000/build/polyfills.js:3:11411) at i 
            (http://192.168.88.112:8000/build/polyfills.js:3:8028) at HTMLDocument.invoke 
            (http://192.168.88.112:8000/build/polyfills.js:3:15204) 
[10:28:37]  error opening ws message: {"category":"console","type":"log","data":["Error getting location","{}"]} 

Configuration:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.17
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.45
ios-deploy version: 1.9.0
ios-sim version: 5.0.4
OS: OS X El Capitan
Node Version: v6.6.0
Xcode version: Xcode 8.1 Build version 8B62

My solution is completely uninstalling current and installing latest version of ionic, then create a blank ionic project and accurately move files from old project to new.

I already replied to the same issue on github. But, just for the reference of future readers, you can check this out: